static enum SMTPFetcher.State extends Enum<SMTPFetcher.State>
| Enum Constant and Description |
|---|
DATA
We received a DATA and we are now processing the data
|
FINISHED
We received a QUIT, and that we may close the connection
|
HELO
We sent our '220' initial session instantiation message, and are now waiting for a HELO
|
IDLE |
MAILFROM
We received a HELO and we are now waiting for a 'MAIL FROM:'
|
RCPTTO
We received a MAIL FROM and we are now waiting for a 'RCPT TO:'
|
| Modifier and Type | Method and Description |
|---|---|
static SMTPFetcher.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SMTPFetcher.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SMTPFetcher.State IDLE
public static final SMTPFetcher.State HELO
public static final SMTPFetcher.State MAILFROM
public static final SMTPFetcher.State RCPTTO
public static final SMTPFetcher.State DATA
public static final SMTPFetcher.State FINISHED
public static SMTPFetcher.State[] values()
for (SMTPFetcher.State c : SMTPFetcher.State.values()) System.out.println(c);
public static SMTPFetcher.State valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullMMBase 1.9-SNAPSHOT - ${javadoctimestamp}