Class SMTPCommand


  • public final class SMTPCommand
    extends java.lang.Object
    SMTPCommand stores a set of constants for SMTP command codes. To interpret the meaning of the codes, familiarity with RFC 821 is assumed. The mnemonic constant names are transcriptions from the code descriptions of RFC 821. For those who think in terms of the actual SMTP commands, a set of constants such as HELO are provided where the constant name is the same as the SMTP command.
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private SMTPCommand()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.String getCommand​(int command)
      Retrieve the SMTP protocol command string corresponding to a specified command code.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait