EmailValidator Class

EmailValidator class provides the capability to validate e-mail addresses.
Inheritance Hierarchy
SystemObject
  Aspose.Email.Tools.VerificationsEmailValidator

Namespace:  Aspose.Email.Tools.Verifications
Assembly:  Aspose.Email (in Aspose.Email.dll) Version: 20.2
Syntax
public sealed class EmailValidator

The EmailValidator type exposes the following members.

Constructors
  NameDescription
Public methodEmailValidator
Create an instance of EmailValidator.
Properties
  NameDescription
Public propertyDnsServers
Gets or sets the Dns server list to use in the email validation.
Public propertyTimeout
Gets or sets the length of time (in milliseconds) until the request times out.
Methods
  NameDescription
Public methodBeginValidate
Begins an asynchronous validating process for an email address.
Public methodEndValidate
Ends an asynchronous validating process for an email address.
Public methodEquals (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Public methodToString (Inherited from Object.)
Public methodValidate(String, ValidationResult)
Validate email address, with the MailServer validation policy.
Public methodValidate(String, ValidationPolicy, ValidationResult)
Validating the email address
Events
  NameDescription
Public eventDomainValidating
This event occurs when validating the domain of an email addresss.
Public eventMailServerValidating
This event occurs when validating an email addresss on its mail server.
Public eventSyntaxValidating
This event occurs when validating the syntax of an email addresss.
See Also