Disposable email domain lists, used in disposable email services, generated every quarter of an hour, in txt and JSON format.
Disposable email domain lists, used in disposable email services, generated every quarter of an hour, in txt and JSON format.
You can find here the lists used by this project to obtain the blocked and allowed domains. This project maintains this list of secure domains.
If you see that some domains should not be in the deny list, if you want to add some other list or if you want to suggest some change, improvement, ... you can contact me through the project issues or in my personal blog.
You can use these files in your projects to block disposable email domains.
For example, in PHP:
$emailDomain = 'gmail.com';
$allowDomains = file_get_contents('https://raw.githubusercontent.com/amieiro/disposable-email-domains/master/allowDomains.json');
$allowDomains = json_decode($allowDomains, true);
if (in_array($emailDomain, $allowDomains)) {
echo 'This domain is allowed.';
}
$emailDomain = 'temp-mail.org';
$denyDomains = file_get_contents('https://raw.githubusercontent.com/amieiro/disposable-email-domains/master/denyDomains.json');
$denyDomains = json_decode($denyDomains, true);
if (in_array($emailDomain, $denyDomains)) {
echo 'This domain is disposable.';
}
This project and the files are open-sourced software licensed under the MIT license.