public class RecipientContext
extends Object
Modifier and Type | Field and Description |
---|---|
boolean |
isResponsibilityTransferred
True if the mail has been passed to a reliable service, e.g. a back-end
SMTP server.
|
Recipient |
recipient |
Constructor and Description |
---|
RecipientContext(MailTransaction mailTransaction,
Recipient recipient) |
Modifier and Type | Method and Description |
---|---|
Destination |
getDestination() |
MailTransaction |
getMailTransaction() |
boolean |
isDestinationAssigned() |
void |
setDestination(Destination destination) |
public final Recipient recipient
public boolean isResponsibilityTransferred
public RecipientContext(MailTransaction mailTransaction, Recipient recipient)
public boolean isDestinationAssigned()
public void setDestination(Destination destination)
public Destination getDestination() throws ConfigurationException
ConfigurationException
- if no destination is assigned yetpublic MailTransaction getMailTransaction()