@FullyTested public enum EmailMessageAddressListType extends Enum<EmailMessageAddressListType>
JavaMailSessionBuilderFactory.INSTANCE| Enum Constant and Description |
|---|
BCC
Address list for Bcc:
|
CC
Address list for Cc:
|
REPLY_TO
Optional: Address list for Reply-To:
|
TO
Address list for To:
|
| Modifier and Type | Field and Description |
|---|---|
javax.mail.Message.RecipientType |
nullableRecipientType |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
setValue(javax.mail.internet.MimeMessage m,
javax.mail.internet.InternetAddress[] addrArr) |
static EmailMessageAddressListType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EmailMessageAddressListType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EmailMessageAddressListType REPLY_TO
MimeMessage.setReplyTo(Address[])public static final EmailMessageAddressListType TO
An email message must have at least one email address in To:, Cc:, or Bcc:
public static final EmailMessageAddressListType CC
An email message must have at least one email address in To:, Cc:, or Bcc:
public static final EmailMessageAddressListType BCC
An email message must have at least one email address in To:, Cc:, or Bcc:
@Nullable public final javax.mail.Message.RecipientType nullableRecipientType
public static EmailMessageAddressListType[] values()
for (EmailMessageAddressListType c : EmailMessageAddressListType.values()) System.out.println(c);
public static EmailMessageAddressListType 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 © 2013–2020. All rights reserved.