public class EmailRecipient extends Recipient
Recipient
that is capable of receiving email.
The only extension to the Recipient
class is the addition of an
InternetAddress
. This additional field represents the e-mail address from which
the Recipient
receives email.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
Copyright.
|
Constructor and Description |
---|
EmailRecipient()
Null argument constructor.
|
EmailRecipient(javax.mail.internet.InternetAddress newInternetAddress)
Constructor for this class.
|
Modifier and Type | Method and Description |
---|---|
javax.mail.internet.InternetAddress |
getInternetAddress()
Gets the InternetAddress assigned to this recipient.
|
void |
setInternetAddress(javax.mail.internet.InternetAddress internetAddress)
Sets the InternetAddress of this recipient.
|
getRecipientId, setRecipientId
public static final java.lang.String COPYRIGHT
public EmailRecipient()
public EmailRecipient(javax.mail.internet.InternetAddress newInternetAddress)
The
- InternetAddress representing the recipient's e-mail
address.public javax.mail.internet.InternetAddress getInternetAddress()
public void setInternetAddress(javax.mail.internet.InternetAddress internetAddress)
internetAddress
- The InternetAddress representing the recipient's email
address.