Open-source language-agnostic email validation library. Backed by a database of 1327 throwable email providers
Don’t do this. Users who were going to use a throwaway email address will either go away and not come back, or still use a throwaway email address but one from e.g. gmail or hotmail. You’ve annoyed a whole bunch of people and not accomplished whatever it was you intended to do.
Ugh. A library to understand exactly what the user wants to do and then thwart it.
I agree with whbboyd and pushcx - but also - a few of these are valid domains!
Example: nus.edu.sg is National University of Singapore - where many of my clients are from - and should not be in this list.
That’s just one I recognized when running the list against my database, but if that’s in there, how many others?
Do not trust this list.
We should probably work harder to get more valid domains into this list; otherwise, the cost of adopting the list will be low, so more systems will adopt it than if it is full of valid domains.
I checked it against my database of 250,000+ people that I’ve emailed with over the past 15 years, and these were the only domains from https://raw.githubusercontent.com/nfedyashev/valid_email2/master/vendor/disposable_emails.yml that I had to remove, because I had valid conversations with people from:
The rest were right-on, and helped me delete a few thousand junk/zombie signups in my database today. (So thanks fgribreau for posting this!)
If you agree with whbboyd and pushcx, then why are you posting this information?
I agree it shouldn’t be used to block people from using your site. I’m happy to the throwaway-email people do their thing on my site. I’ve done it on others' sites, too.
That said, I like to keep my database clean and not waste resources. So just using the raw database of throwaway domains helped me identify some zombies in the database, and delete those throwaway accounts. Really all of them inactive for years, so now safe for me to assume they’ll be permanently inactive.
Either the mapping of user to identity is important to you, in which case you’d better use Facebook logins or similar, or it is just there to recover passwords and send notifications, in which case what do you care?
In any case, it’d be easy to set up an email service so that any arbitrary $2 domain can have its MX pointed at it and everything would still work. Someone probably already has. With one or more such systems out there you could never hope to keep track of all the disposable email domains in a database.
For further thoughts on disposable email, see http://nick.zoic.org/etc/youve-got-no-mail/
It’d be easy to set up an email service so that any arbitrary $2 domain can have its MX pointed at it and everything would still work. Someone probably already has.
Mailinator is such a service – anyone can point their MX record to mail.mailinator.com.
… right, so!