|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.commons.net.smtp.SMTPCommand
public final class SMTPCommand
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.
Field Summary | |
---|---|
static int |
AUTH
The authorization command |
static int |
DATA
|
static int |
EHLO
The extended hello command |
static int |
EXPAND
|
static int |
EXPN
|
static int |
HELLO
|
static int |
HELO
|
static int |
HELP
|
static int |
LOGIN
|
static int |
LOGOUT
|
static int |
MAIL
|
static int |
MAIL_FROM
|
static int |
NOOP
|
static int |
QUIT
|
static int |
RCPT
|
static int |
RECIPIENT
|
static int |
RESET
|
static int |
RSET
|
static int |
SAML
|
static int |
SEND
|
static int |
SEND_AND_MAIL_FROM
|
static int |
SEND_FROM
|
static int |
SEND_MESSAGE_DATA
|
static int |
SEND_OR_MAIL_FROM
|
static int |
SOML
|
static int |
TURN
|
static int |
VERIFY
|
static int |
VRFY
|
Method Summary | |
---|---|
static 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 |
Field Detail |
---|
public static final int HELO
public static final int MAIL
public static final int RCPT
public static final int DATA
public static final int SEND
public static final int SOML
public static final int SAML
public static final int RSET
public static final int VRFY
public static final int EXPN
public static final int HELP
public static final int NOOP
public static final int TURN
public static final int QUIT
public static final int AUTH
public static final int EHLO
public static final int HELLO
public static final int LOGIN
public static final int MAIL_FROM
public static final int RECIPIENT
public static final int SEND_MESSAGE_DATA
public static final int SEND_FROM
public static final int SEND_OR_MAIL_FROM
public static final int SEND_AND_MAIL_FROM
public static final int RESET
public static final int VERIFY
public static final int EXPAND
public static final int LOGOUT
Method Detail |
---|
public static final String getCommand(int command)
command
- The command code.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |