Skip to content

Navigation Menu

Sign in
Sign up

Latest commit

History

18 Commits

Folders and files

NameName
Last commit message
Last commit date

Repository files navigation

Disposable Email Domains

A simple list of disposable and temporary email domains.

Usage

Raw list URL:

https://raw.githubusercontent.com/jLynx/disposable-email-blocklist/refs/heads/main/domains.txt

Examples

Python:

import requests
domains = requests.get('https://raw.githubusercontent.com/YOUR-USERNAME/disposable-email-domains/main/domains.txt').text.splitlines()
blocked = set(domains)
email_domain = email.split('@')[1].lower()
if email_domain in blocked:
 print("Disposable email detected")

JavaScript:

fetch(
 "https://raw.githubusercontent.com/YOUR-USERNAME/disposable-email-domains/main/domains.txt"
)
 .then((r) => r.text())
 .then((data) => {
 const blocked = new Set(data.split("\n"))
 // Check: blocked.has(domain)
 })

PHP:

$domains = file('https://raw.githubusercontent.com/YOUR-USERNAME/disposable-email-domains/main/domains.txt', FILE_IGNORE_NEW_LINES);
$blocked = array_flip($domains);
if (isset($blocked[$domain])) {
 // Disposable email
}

Contributing

Add new domains via pull request. Keep domains:

  • Lowercase
  • One per line
  • Alphabetically sortedS

About

A community-maintained blocklist of disposable and temporary email domains. Updated regularly to help prevent spam and abuse.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

AltStyle によって変換されたページ (->オリジナル) /