/go-free-email

Free email domain checker in golang

Primary LanguageGoMIT LicenseMIT

go-free-email

Last version License

A comprehensive list of all free email domain providers. Based on HubSpot blocked domains.

Install

$ go get github.com/ilkerkorkut/go-free-email

Usage

gfe := gofreeemail.NewGoFreeEmails()
gfe.IsFreeEmail("gmail.com") // returns true or false
gfe.AddFreeEmail("example.com") // adds a new free email domain on runtime
gfe.RemoveDomainFromList("example.com") // removes a domain from the list