is biz mail dotnet

isBizMail tells you whether a given email address belongs to a free email account provider (gmail.com, yahoo.es, yandex.ru etc) or not.

4
0
C#

Business Email Checker
Build status
AppVeyor tests branch
Coverage Status

License
NuGet
NuGet
.NET Standard

Donate Patreon
Donate Paypal
Donate Liberapay

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.

  1. All credits for the list itself go to SpamAssasin authors and contributors

Looking for JavaScript, PHP etc?

๐ŸŸŠ๐ŸŸŠ๐ŸŸŠ Support this project ๐ŸŸŠ๐ŸŸŠ๐ŸŸŠ

You can support us in a small way, please consider starring and sharing this repo! It helps us getting known and grow the community.

star us

Installation

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("[email protected]"));        // true
    Console.WriteLine(IsBizMail.IsValid("[email protected]"));    // false
}
//..

Testing: xUnit.net

dotnet test tests