All Projects → jstedfast → Emailvalidation

jstedfast / Emailvalidation

Licence: mit
A simple (but correct) .NET class for validating email addresses

Projects that are alternatives of or similar to Emailvalidation

email-checker
Provides email verification on the go.
Stars: ✭ 116 (-32.16%)
Mutual labels:  email, email-validation
Email Validation Tool
An easy to use, accurate-ish & extensible email validation library for PHP 7+ 📧
Stars: ✭ 250 (+46.2%)
Mutual labels:  email, email-validation
Truemail
🚀 Configurable framework agnostic plain Ruby 📨 email validator/verifier. Verify email via Regex, DNS and SMTP. Be sure that email address valid and exists.
Stars: ✭ 717 (+319.3%)
Mutual labels:  email, email-validation
EmailValidationPascal
Simple Class for Validating Email Address Syntax in Pascal/Delphi
Stars: ✭ 32 (-81.29%)
Mutual labels:  email, email-validation
NeverBounceAPI-PHP
This package provides convenient methods to integrate the NeverBounce API into your project.
Stars: ✭ 22 (-87.13%)
Mutual labels:  email, email-validation
Check If Email Exists
Check if an email address exists without sending any email, written in Rust.
Stars: ✭ 497 (+190.64%)
Mutual labels:  email, email-validation
Mailchecker
📫 Cross-language temporary (disposable/throwaway) email detection library. Covers 33600 fake email providers.
Stars: ✭ 1,252 (+632.16%)
Mutual labels:  email, email-validation
Pinky
A Foundation for Emails (Inky) template transpiler
Stars: ✭ 154 (-9.94%)
Mutual labels:  email
React Letter
✉️ Display e-mails in your React.js projects. (Targets Gmail rendering.)
Stars: ✭ 164 (-4.09%)
Mutual labels:  email
Dart Basic Utils
A dart package for many helper methods fitting common situations
Stars: ✭ 153 (-10.53%)
Mutual labels:  email
Nanolist
mailing lists - the unix way
Stars: ✭ 153 (-10.53%)
Mutual labels:  email
Fairemail
Fully featured, open source, privacy friendly email app for Android
Stars: ✭ 2,570 (+1402.92%)
Mutual labels:  email
Mnm
The legitimate email replacement — n-identity, decentralized, store-and-forward, open protocol, open source. (Server)
Stars: ✭ 162 (-5.26%)
Mutual labels:  email
Karma
Find leaked emails with your passwords
Stars: ✭ 154 (-9.94%)
Mutual labels:  email
Emailintentbuilder
An Android Library for the creation of SendTo Intents with mailto: URI
Stars: ✭ 168 (-1.75%)
Mutual labels:  email
Free Email Forwarding
The best free email forwarding for custom domains. Visit our website to get started (SMTP server)
Stars: ✭ 2,024 (+1083.63%)
Mutual labels:  email
Bullish
Stock market performance insights and trends in your inbox daily.
Stars: ✭ 171 (+0%)
Mutual labels:  email
Imap tools
Work with email and mailbox by IMAP
Stars: ✭ 167 (-2.34%)
Mutual labels:  email
Swift Smtp
Swift SMTP client
Stars: ✭ 162 (-5.26%)
Mutual labels:  email
Email Verifier
✅ A Go library for email verification without sending any emails.
Stars: ✭ 162 (-5.26%)
Mutual labels:  email

EmailValidation

What is EmailValidation?

A simple (but correct) .NET class for validating email addresses.

Supports Internationalized Mail Address standards (rfc653x).

Installing via NuGet

The easiest way to install EmailValidation is via NuGet.

In Visual Studio's Package Manager Console, simply enter the following command:

Install-Package EmailValidation

Getting the Source Code

First, you'll need to clone EmailValidation from my GitHub repository. To do this using the command-line version of Git, you'll need to issue the following command in your terminal:

git clone https://github.com/jstedfast/EmailValidation.git

If you are using TortoiseGit on Windows, you'll need to right-click in the directory where where you'd like to clone EmailValidation and select Git Clone... in the menu. Once you do that, you'll get a dialog asking you to specify the repository you'd like to clone. In the textbox labeled URL:, enter https://github.com/jstedfast/EmailValidation.git and then click OK. This will clone EmailValidation onto your local machine.

Updating the Source Code

Occasionally you might want to update your local copy of the source code if I have made changes to EmailValidation since you downloaded the source code in the step above. To do this using the command-line version fo Git, you'll need to issue the following command in your terminal within the EmailValidation directory:

git pull

If you are using TortoiseGit on Windows, you'll need to right-click on the EmailValidation directory and select Git Sync... in the menu. Once you do that, you'll need to click the Pull button.

Building

Open the EmailValidation.sln solution file in Visual Studio, choose the desired build configuration (Debug or Release) and then build.

Note: The Release build will generate the xml API documentation, but the Debug build will not.

Using EmailValidation

This is quite possibly the easiest API ever to use. There is simply 1 class with 1 method.

using System;

using EmailValidation;

namespace Example {
    public class Program
    {
        public static void Main ()
        {
            do {
                Console.Write ("Enter an email address: ");

                var input = Console.ReadLine ();
                if (input == null)
                    break;

                input = input.Trim ();
                Console.WriteLine ("{0} is {1}!", input, EmailValidator.Validate (input) ? "valid" : "invalid");
            } while (true);

            Console.WriteLine ();
        }
    }
}

License Information

EmailValidation is Copyright (C) 2013-2020 Jeffrey Stedfast and is licensed under the MIT license:

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.

Other Implementations:

If you need an implementation in something other than C#, perhaps one of the following ports will be helpful:

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].