Name | Description | |
---|---|---|
EmailValidation Constructor | Overloaded. |
The following tables list the members exposed by EmailValidation.
Name | Description | |
---|---|---|
EmailValidation Constructor | Overloaded. |
Name | Description | |
---|---|---|
BestConnectionMessage | Returns a user friendly message indicating why some options were disabled | |
BlackList | A List of emails, domains, or words to black list | |
Cancel | Set to true to cancel asynchronous email validation | |
ConnectionChecking | By default when the .NET Email Validation Library first attempts a connection it verifies it is connected to the internet, port 25 is open, and MxRecords can be retrieved. This behavior is on by default. To increase performance when validating a single email address and always connected to the internet, set this property to false. | |
DefaultOptions | The default options used when email validation is performed. The defaults are: BasicSyntax | |
DnsServer | Override the default DNS Server to use when retrieving MX Records | |
EmailsProcessed | The number of emails that have been validated asynchronously | |
FromEmail | The email address to use as the from address when doing an SMTP Mailbox Check. The default is null | |
FromMailServer | The mail server to use as the from address when doing an SMTP Mailbox Check. The default is null | |
IsBusy | If true, we are actively validating emails. | |
LocalEndPoint | LocalEndPoint for connection. Use null if you want the system to assign your socket's local IP address | |
MaxThreads | The maximum number of threads to use to validate emails simultaneously | |
NoConnectOptions | A list of predefined options to validate email addresses without using an internet connection. These options are: BasicSyntax | |
Proxy | Set the Socks 4 or 5 Proxy. Defaults to None | |
SmtpPort | The Port to connect to the SMTP Server. Default is 25 | |
SmtpTimeout | The number of milliseconds to wait until an SMTP Server responds. The default is 30,000 milliseconds (30 seconds) | |
TopLevelDomains | Domain Ending Regular Expression Mask (known ending such as .com, .net or a country code). This is also known as the Top Level Domain or Root Domain. //From http://en.wikipedia.org/wiki/List_of_Internet_top-level_domains //AND https://www.icann.org/resources/pages/tlds-2012-02-25-en | |
TotalEmailsToProcess | The total number of emails to validate | |
UserMessages | Change user messages for validation errors | |
WhiteList | A list of emails, domains, or words to white list |
Name | Description | |
---|---|---|
BestConnectionOptions | Returns a list of the default options excluding options that cannot be performed. The SMTP Port (normally 25) must be open to do a SMTP connect or mailbox check. Must be connected to the internet to do an MxRecord lookup. This effectively performs the greatest possible validation depending on the local machines connection capabilities. | |
ClearLog | Overloaded. Clear the file log | |
DisableLogging | Disable all logging. | |
EnableLogging | Overloaded. Log to the console | |
ValidateList | Overloaded. Validate a list of emails synchronously with an associated contact id from your database | |
ValidateListAsync | Overloaded. Validate a list of emails asynchronously using default options | |
ValidEmail | Overloaded. Validate an email using the DefaultOptions (see the DefaultOptions property) | |
ValidEmailAsync | Overloaded. Validate an email asynchronously using the default options |
Name | Description | |
---|---|---|
ProgressEvent | Occurs when progress information is available for asynchronous email validation. | |
ResponseReceivedEvent | Occurs when a validation response is received for asynchronous processing. | |
ValidationCompleteEvent | Occurs when validation is complete for asynchronous validation. |