C# Class SympleLib.Email.EmailValidator

Class is simply a wrapper for Cobisi E-Mail Validator (http://cobisi.com/email-validation/.net-component) License Is Required to use this componet
Exibir arquivo Open project: sympletech/SympleLib

Public Methods

Method Description
EmailValidator ( string CobisiRunTimeKey ) : Cobisi.EmailVerify
VaildateEmailAgianstKnownDisposableLists ( string emailAddress ) : VerificationResult

All of the features above, plus: Checks the email address domain against a wellknown list of disposable email address (DEA) providers.

VaildateEmailAgianstMailBox ( string emailAddress ) : VerificationResult

All of the features above, plus: Checks whether the mail server accepts or rejects messages sent to the required email address.

VaildateEmailIsNotACatchAll ( string emailAddress ) : VerificationResult

All of the features above, plus: Checks if the mail server correctly rejects messages sent to nonexistent email addresses. This verification level allows you to check if a given email address is actually a catch-all address. -- IN MY TESTING THIS FAILS ALOT --

VaildateEmailSyntax ( string emailAddress ) : VerificationResult

Performs a syntactical validation of the provided email address against RFC 1123, RFC 2821, RFC 2822, RFC 3696, RFC 4291, RFC 5321 and RFC 5322 technical specifications, among others.

VaildateEmailUsingDns ( string emailAddress ) : VerificationResult

All of the features above, plus: Queries the configured DNS server(s) and looks for records about the e-mail address domain and checks their validity and consistency.

VaildateEmailUsingSmtp ( string emailAddress ) : VerificationResult

All of the features above, plus: Checks if a connection could be performed to the mail server of the email address domain.

Method Details

EmailValidator() public method

public EmailValidator ( string CobisiRunTimeKey ) : Cobisi.EmailVerify
CobisiRunTimeKey string
return Cobisi.EmailVerify

VaildateEmailAgianstKnownDisposableLists() public method

All of the features above, plus: Checks the email address domain against a wellknown list of disposable email address (DEA) providers.
public VaildateEmailAgianstKnownDisposableLists ( string emailAddress ) : VerificationResult
emailAddress string
return VerificationResult

VaildateEmailAgianstMailBox() public method

All of the features above, plus: Checks whether the mail server accepts or rejects messages sent to the required email address.
public VaildateEmailAgianstMailBox ( string emailAddress ) : VerificationResult
emailAddress string
return VerificationResult

VaildateEmailIsNotACatchAll() public method

All of the features above, plus: Checks if the mail server correctly rejects messages sent to nonexistent email addresses. This verification level allows you to check if a given email address is actually a catch-all address. -- IN MY TESTING THIS FAILS ALOT --
public VaildateEmailIsNotACatchAll ( string emailAddress ) : VerificationResult
emailAddress string
return VerificationResult

VaildateEmailSyntax() public method

Performs a syntactical validation of the provided email address against RFC 1123, RFC 2821, RFC 2822, RFC 3696, RFC 4291, RFC 5321 and RFC 5322 technical specifications, among others.
public VaildateEmailSyntax ( string emailAddress ) : VerificationResult
emailAddress string
return VerificationResult

VaildateEmailUsingDns() public method

All of the features above, plus: Queries the configured DNS server(s) and looks for records about the e-mail address domain and checks their validity and consistency.
public VaildateEmailUsingDns ( string emailAddress ) : VerificationResult
emailAddress string
return VerificationResult

VaildateEmailUsingSmtp() public method

All of the features above, plus: Checks if a connection could be performed to the mail server of the email address domain.
public VaildateEmailUsingSmtp ( string emailAddress ) : VerificationResult
emailAddress string
return VerificationResult