salaros / 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.

Home Page:https://codecave.pro#projects

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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("foo@bar.com"));        // true
    Console.WriteLine(IsBizMail.IsValid("hello@gmail.com"));    // false
}
//..

Testing: xUnit.net

dotnet test tests

About

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

https://codecave.pro#projects

License:Other


Languages

Language:C# 97.7%Language:Makefile 2.3%