ORO, Inc. Logo  All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.oroinc.net.smtp.SMTPCommand

java.lang.Object
   |
   +----com.oroinc.net.smtp.SMTPCommand

public final class SMTPCommand
extends 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.

Copyright © 1997 Original Reusable Objects, Inc. All rights reserved.


Variable Index

 o DATA
 o EXPAND
 o EXPN
 o HELLO
 o HELO
 o HELP
 o LOGIN
 o LOGOUT
 o MAIL
 o MAIL_FROM
 o NOOP
 o QUIT
 o RCPT
 o RECIPIENT
 o RESET
 o RSET
 o SAML
 o SEND
 o SEND_AND_MAIL_FROM
 o SEND_FROM
 o SEND_MESSAGE_DATA
 o SEND_OR_MAIL_FROM
 o SOML
 o TURN
 o VERIFY
 o VRFY

Method Index

 o getCommand(int)
Retrieve the SMTP protocol command string corresponding to a specified command code.

Variables

 o HELO
 public static final int HELO
 o MAIL
 public static final int MAIL
 o RCPT
 public static final int RCPT
 o DATA
 public static final int DATA
 o SEND
 public static final int SEND
 o SOML
 public static final int SOML
 o SAML
 public static final int SAML
 o RSET
 public static final int RSET
 o VRFY
 public static final int VRFY
 o EXPN
 public static final int EXPN
 o HELP
 public static final int HELP
 o NOOP
 public static final int NOOP
 o TURN
 public static final int TURN
 o QUIT
 public static final int QUIT
 o HELLO
 public static final int HELLO
 o LOGIN
 public static final int LOGIN
 o MAIL_FROM
 public static final int MAIL_FROM
 o RECIPIENT
 public static final int RECIPIENT
 o SEND_MESSAGE_DATA
 public static final int SEND_MESSAGE_DATA
 o SEND_FROM
 public static final int SEND_FROM
 o SEND_OR_MAIL_FROM
 public static final int SEND_OR_MAIL_FROM
 o SEND_AND_MAIL_FROM
 public static final int SEND_AND_MAIL_FROM
 o RESET
 public static final int RESET
 o VERIFY
 public static final int VERIFY
 o EXPAND
 public static final int EXPAND
 o LOGOUT
 public static final int LOGOUT

Methods

 o getCommand
 public static final String getCommand(int command)
Retrieve the SMTP protocol command string corresponding to a specified command code.

Parameters:
The - command code.
Returns:
The SMTP protcol command string corresponding to a specified command code.

ORO, Inc. Logo  All Packages  Class Hierarchy  This Package  Previous  Next  Index