Finding disposable email addresses [closed]
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this questionI've been using undisposable.net's API to find disposable email addresses but noticed that the site no longer appears to be functional.
Anybody know what happened to them? Are there any other sites that provide an API to disposable email address domains or is there a list that can be downloaded to check against?
EDIT: Clarifi开发者_如何学Pythoncation: I don't want to create disposable email addresses. I want to check if an email address submitted on a registration form is disposable.
It looks like nodisposablemail.com provides this service. It's got a free account for up to 500 lookups, and pricing goes up from there.
EDIT Thanks to @abrkn for pointing out that nodisposablemail.com is no longer active. Looks like there's an alternative at block-disposable-email.com, which is free for 200 queries (pricing info for beyond that).
The only one that I know of that provides excellent disposable email is this one but has no API but I can imagine it would be simple to check via issuing a 'POST' to it with a email address here...Mailinator.com
Edit: Thanks to cmptrgeekken for the heads up after his comment to this answer! My thoughts on this. I am not 100% sure nor confident if you can reliably check if the email address is a disposable one or not as they email address will appear to be perfectly legitimate and reasonable.... this may sound hackish but to go through all disposable email domain names to check, such as '@malinator.com'... again, this is muddy as perhaps there may be a header available in the email that could be checked against spamhaus.org to see if it's a disposable one...the bottom line, there is an '@' in the email, the domain will be valid and can telnet to it to check... other than that...
Hope this helps, Best regards, Tom.
You can try jetable.org or yopmail.com
精彩评论