public final class SMTPCommand extends Object
HELO
are provided
where the constant name is the same as the SMTP command.Modifier and Type | Field and Description |
---|---|
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 |
Modifier and Type | Method and Description |
---|---|
static String |
getCommand(int command)
Retrieve the SMTP protocol command string corresponding to a specified
command code.
|
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
public static final String getCommand(int command)
command
- The command code.Copyright © 2001–2016 The Apache Software Foundation. All rights reserved.