com.aspose.email

Interfaces

Classes

Enums

Exceptions

com.aspose.email

Class ValidationPolicy

  • java.lang.Object
    • com.aspose.ms.System.ValueType<com.aspose.ms.System.Enum>
      • com.aspose.ms.System.Enum
        • com.aspose.email.ValidationPolicy


  • public final class ValidationPolicy
    extends com.aspose.ms.System.Enum

    Presents the policy of validating email address.

    • Nested Class Summary

      • Nested classes/interfaces inherited from class com.aspose.ms.System.Enum

        com.aspose.ms.System.Enum.AbstractEnum, com.aspose.ms.System.Enum.EnumMap, com.aspose.ms.System.Enum.FlaggedEnum, com.aspose.ms.System.Enum.ObjectEnum, com.aspose.ms.System.Enum.SimpleEnum
    • Field Summary

      Fields 
      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.
      • Fields inherited from class com.aspose.ms.System.Enum

        EnumSeparatorCharArray
    • Method Summary

      • Methods inherited from class com.aspose.ms.System.Enum

        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
    • Field Detail

      • SyntaxOnly

        public static final int SyntaxOnly

        Validating the syntax of the email address.

        See Also:
        Constant Field Values
      • SyntaxAndDomain

        public static final int SyntaxAndDomain

        Validating the syntax of the email address firstly, and then validate the domain of the email.

        See Also:
        Constant Field Values
      • MailServer

        @Deprecated
        public static final int MailServer
        Deprecated. 

        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:
        Constant Field Values

Copyright (c) 2008-2019 Aspose Pty Ltd. All Rights Reserved.