public final class ValidationPolicy
extends com.aspose.ms.System.Enum
Presents the policy of validating email address.
Modifier and Type | Field and Description |
---|---|
static int |
MailServer
Deprecated.
|
static int |
SyntaxAndDomain
Validating the syntax of the email address firstly, and then validate the domain of the email.
|
static int |
SyntaxOnly
Validating the syntax of the email address.
|
Clone, CloneTo, format, format, get_Caption, get_Value, getName, getName, getNames, getNames, getUnderlyingType, getUnderlyingType, getValue, getValues, isDefined, isDefined, isDefined, isDefined, parse, parse, parse, parse, register, toObject, toString
public static final int SyntaxOnly
Validating the syntax of the email address.
public static final int SyntaxAndDomain
Validating the syntax of the email address firstly, and then validate the domain of the email.
@Deprecated public static final int MailServer
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