Enum Class SmtpEvent

java.lang.Object
java.lang.Enum<SmtpEvent>
org.flasby.net.mail.SmtpEvent
All Implemented Interfaces:
Serializable, Comparable<SmtpEvent>, Constable

public enum SmtpEvent extends Enum<SmtpEvent>
  • Enum Constant Details

    • CONNECT

      public static final SmtpEvent CONNECT
    • TIME_OUT

      public static final SmtpEvent TIME_OUT
    • SOCKET_FAULT

      public static final SmtpEvent SOCKET_FAULT
    • PROTOCOL_FAULT

      public static final SmtpEvent PROTOCOL_FAULT
    • DISCONNECT

      public static final SmtpEvent DISCONNECT
    • RESP_220

      public static final SmtpEvent RESP_220
    • RESP_211

      public static final SmtpEvent RESP_211
    • RESP_250

      public static final SmtpEvent RESP_250
    • RESP_250_HYPHON

      public static final SmtpEvent RESP_250_HYPHON
    • RESP_5xx

      public static final SmtpEvent RESP_5xx
  • Method Details

    • values

      public static SmtpEvent[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static SmtpEvent valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null