Class EmailValidator
EmailValidator class
EmailValidator class provides the capability to validate e-mail addresses.
public sealed class EmailValidator
Constructors
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 |
Events
Name | Description |
---|
event DomainValidating | This event occurs when validating the domain of an email addresss. |
event MailServerValidating | This event occurs when validating an email addresss on its mail server. |
event SyntaxValidating | This event occurs when validating the syntax of an email addresss. |
See Also