A list of disposable and temporary email address domains in Golang.
There are two lists; namely, Black
and White
.
-
Black
: These are disposable and generally used to register dummy users to abuse/spam other services. -
White
: These are real email providers but generally treated as disposable wrongly.
By go tool: go get github.com/ferhatelmas/disposable
import github.com/ferhatelmas/disposable
disposable.IsBlack("google.com") // false
disposable.IsBlack("10mail.org") // true
disposable.IsBlack("10MAIL.org") // true
Actual list is collected at martersen/disposable-email-domains.
Feel free to create a PR with additions or removal requests here or above related repo. For sure, don't forget adding explanation of request.
MIT © Ferhat Elmas