Class SmtpState


  • public class SmtpState
    extends java.lang.Object
    SMTP server state.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String toString()
      String representation of this SmtpState.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • CONNECT

        public static final SmtpState CONNECT
        CONNECT state: waiting for a client connection.
      • GREET

        public static final SmtpState GREET
        GREET state: wating for a ELHO message.
      • MAIL

        public static final SmtpState MAIL
        MAIL state: waiting for the MAIL FROM: command.
      • RCPT

        public static final SmtpState RCPT
        RCPT state: waiting for a RCPT <email address> command.
      • DATA_HDR

        public static final SmtpState DATA_HDR
        Waiting for headers.
      • DATA_BODY

        public static final SmtpState DATA_BODY
        Processing body text.
      • QUIT

        public static final SmtpState QUIT
        End of client transmission.
    • Method Detail

      • toString

        public java.lang.String toString()
        String representation of this SmtpState.
        Overrides:
        toString in class java.lang.Object
        Returns:
        a String