public static enum DSNStandard.MtaNameType extends Enum<DSNStandard.MtaNameType>
| Enum Constant and Description |
|---|
DNS
For an SMTP server on an Internet host, the MTA name is the domain name of
that host, and the "dns" MTA- name-type is used.
|
| Modifier and Type | Method and Description |
|---|---|
static DSNStandard.MtaNameType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DSNStandard.MtaNameType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DSNStandard.MtaNameType DNS
public static DSNStandard.MtaNameType[] values()
for (DSNStandard.MtaNameType c : DSNStandard.MtaNameType.values()) System.out.println(c);
public static DSNStandard.MtaNameType 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 nullCopyright © 2010–2021 The Direct Project. All rights reserved.