isBizMail tells you whether a given email address is free (gmail.com, yahoo.es, yandex.ru etc) or not. The list of emails used by isBizMail is taken from here¹. Detects around 2500 domains and subdomains.
- All credits for the list itself go to SpamAssasin authors and contributors
- JavaScript implementation (Vanilla / CommomJS module)
- PHP implementation (PHP 5.4.0+)
You can support us in a small way, please consider starring and sharing this repo! It helps us getting known and grow the community.
You can install IsBizMail for .NET Core 2.0+ / Framework 4.6.1+, Mono 5.4+ etc via NuGet.
You could build it from sources via:
dotnet build
IsBizMail in .NET is a static class, so can use it like this:
using Salaros.Email;
//..
{
Console.WriteLine(IsBizMail.IsValid("foo@bar.com")); // true
Console.WriteLine(IsBizMail.IsValid("hello@gmail.com")); // false
}
//..
dotnet test tests