public final class SMTPReply extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
ACTION_ABORTED
SMTP reply code 451.
|
static int |
ACTION_NOT_TAKEN
SMTP reply code 450.
|
static int |
ACTION_OK
SMTP reply code 250.
|
static int |
BAD_COMMAND_SEQUENCE
SMTP reply code 503.
|
static int |
COMMAND_NOT_IMPLEMENTED
SMTP reply code 502.
|
static int |
COMMAND_NOT_IMPLEMENTED_FOR_PARAMETER
SMTP reply code 504.
|
static int |
HELP_MESSAGE
SMTP reply code 214.
|
static int |
INSUFFICIENT_STORAGE
SMTP reply code 452.
|
static int |
MAILBOX_NAME_NOT_ALLOWED
SMTP reply code 553.
|
static int |
MAILBOX_UNAVAILABLE
SMTP reply code 550.
|
static int |
SERVICE_CLOSING_TRANSMISSION_CHANNEL
SMTP reply code 221.
|
static int |
SERVICE_NOT_AVAILABLE
SMTP reply code 421.
|
static int |
SERVICE_READY
SMTP reply code 220.
|
static int |
START_MAIL_INPUT
SMTP reply code 354.
|
static int |
STORAGE_ALLOCATION_EXCEEDED
SMTP reply code 552.
|
static int |
SYNTAX_ERROR_IN_ARGUMENTS
SMTP reply code 501.
|
static int |
SYSTEM_STATUS
SMTP reply code 211.
|
static int |
TRANSACTION_FAILED
SMTP reply code 554.
|
static int |
UNRECOGNIZED_COMMAND
SMTP reply code 500.
|
static int |
USER_NOT_LOCAL
SMTP reply code 551.
|
static int |
USER_NOT_LOCAL_WILL_FORWARD
SMTP reply code 251.
|
| Modifier and Type | Method and Description |
|---|---|
static boolean |
isNegativePermanent(int reply)
Tests if a reply code is a negative permanent response.
|
static boolean |
isNegativeTransient(int reply)
Tests if a reply code is a negative transient response.
|
static boolean |
isPositiveCompletion(int reply)
Tests if a reply code is a positive completion response.
|
static boolean |
isPositiveIntermediate(int reply)
Tests if a reply code is a positive intermediate response.
|
static boolean |
isPositivePreliminary(int reply)
Tests if a reply code is a positive preliminary response.
|
public static final int ACTION_ABORTED
public static final int ACTION_NOT_TAKEN
public static final int ACTION_OK
public static final int BAD_COMMAND_SEQUENCE
public static final int COMMAND_NOT_IMPLEMENTED
public static final int COMMAND_NOT_IMPLEMENTED_FOR_PARAMETER
public static final int HELP_MESSAGE
public static final int INSUFFICIENT_STORAGE
public static final int MAILBOX_NAME_NOT_ALLOWED
public static final int MAILBOX_UNAVAILABLE
public static final int SERVICE_CLOSING_TRANSMISSION_CHANNEL
public static final int SERVICE_NOT_AVAILABLE
public static final int SERVICE_READY
public static final int START_MAIL_INPUT
public static final int STORAGE_ALLOCATION_EXCEEDED
public static final int SYNTAX_ERROR_IN_ARGUMENTS
public static final int SYSTEM_STATUS
public static final int TRANSACTION_FAILED
public static final int UNRECOGNIZED_COMMAND
public static final int USER_NOT_LOCAL
public static final int USER_NOT_LOCAL_WILL_FORWARD
public static boolean isNegativePermanent(int reply)
reply - The reply code to test.public static boolean isNegativeTransient(int reply)
reply - The reply code to test.public static boolean isPositiveCompletion(int reply)
reply - The reply code to test.public static boolean isPositiveIntermediate(int reply)
reply - The reply code to test.public static boolean isPositivePreliminary(int reply)
Note: No SMTP commands defined in RFC 822 provide this type of reply.
reply - The reply code to test.