public final class Recipient extends Object
Message.RecipientType.BCC).| Constructor and Description |
|---|
Recipient(String name,
String address,
javax.mail.Message.RecipientType type)
Constructor; initializes this recipient object.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
String |
getAddress()
Bean getter for
address; |
String |
getName()
Bean getter for
name; |
javax.mail.Message.RecipientType |
getType()
Bean getter for
type; |
int |
hashCode() |
String |
toString() |
public Recipient(@Nullable String name, @Nonnull String address, @Nullable javax.mail.Message.RecipientType type)
name - The name of the recipient, optional in which just the address is shown.address - The email address of the recipient.type - The recipient type (eg. Message.RecipientType.TO), optional for from and replyTo fields.Message.RecipientTypeCopyright © 2017. All rights reserved.