public final class Recipient extends Object implements Serializable
Message.RecipientType.BCC).| Constructor and Description |
|---|
Recipient(@Nullable String name,
@NotNull String address,
@Nullable jakarta.mail.Message.RecipientType type)
Constructor; initializes this recipient object.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(@Nullable Object o) |
@NotNull String |
getAddress()
Bean getter for
address; |
@Nullable String |
getName()
Bean getter for
name; |
@Nullable jakarta.mail.Message.RecipientType |
getType()
Bean getter for
type; |
int |
hashCode() |
@NotNull String |
toString() |
public Recipient(@Nullable
@Nullable String name,
@NotNull
@NotNull String address,
@Nullable
@Nullable jakarta.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 (e.g. Message.RecipientType.TO), optional for from and replyTo fields.Message.RecipientType@Nullable public @Nullable jakarta.mail.Message.RecipientType getType()
type;Copyright © 2009–2023. All rights reserved.