org.apache.commons.net.smtp
public final class SMTPCommand extends Object
HELO are provided
where the constant name is the same as the SMTP command.
| Field Summary | |
|---|---|
| static int | DATA |
| static int | EXPAND |
| static int | EXPN |
| static int | HELLO |
| static int | HELO |
| static int | HELP |
| static int | LOGIN |
| static int | LOGOUT |
| static int | |
| 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.
|
Parameters: command The command code.
Returns: The SMTP protcol command string corresponding to a specified command code.