EmailValidator
EmailValidator class
EmailValidator class provides the capability to validate e-mail addresses.
public sealed class EmailValidator
Constructors
Name |
Description |
EmailValidator() |
Create an instance of EmailValidator. |
Properties
Name |
Description |
DnsServers { get; set; } |
Gets or sets the Dns server list to use in the email validation. |
Timeout { get; set; } |
Gets or sets the length of time (in milliseconds) until the request times out. |
Methods
Name |
Description |
BeginValidate(string, ValidationPolicy, out ValidationResult, AsyncCallback, object) |
Begins an asynchronous validating process for an email address. |
EndValidate(out ValidationResult, IAsyncResult) |
Ends an asynchronous validating process for an email address. |
Validate(string, out ValidationResult) |
Validate email address, with the MailServer validation policy. |
Validate(string, ValidationPolicy, out ValidationResult) |
Validating the email address |
See Also