ValidationPolicy Enumeration |
Presents the policy of validating email address.
Namespace:
Aspose.Email.Tools.Verifications
Assembly:
Aspose.Email (in Aspose.Email.dll) Version: 20.2
Syntax public enum ValidationPolicy
Public Enumeration ValidationPolicy
public enum class ValidationPolicy
Members
| Member name | Value | Description |
---|
| SyntaxOnly | 0 |
Validating the syntax of the email address.
|
| SyntaxAndDomain | 1 |
Validating the syntax of the email address firstly, and then validate the domain of the email.
|
| MailServer | 2 | Obsolete.
Validating the email address by trying to connet to the restricted SMTP server.
Restricted SMTP server is retrieved with using MX records.
Please note: in some cases restricted servers may refuse connection
|
See Also