public class OutgoingMessage extends DefaultMessageEnvelope
The domain(s) bound to the provided agent is used to remove recipients that are not in the agent's domain(s).
| Constructor and Description |
|---|
OutgoingMessage(Message message)
Create an outgoing message from a mime message.
|
OutgoingMessage(MessageEnvelope envelope)
Create an outgoing message from a pre-eveloped message.
|
OutgoingMessage(Message message,
NHINDAddressCollection recipients,
NHINDAddress sender)
Create an outgoing message from a mime message overriding the routing headers.
|
OutgoingMessage(String message)
Create an outgoing message from a raw string.
|
OutgoingMessage(String message,
NHINDAddressCollection recipients,
NHINDAddress sender)
Create an outgoing message from a raw string.
|
ensureRecipientsCategorizedByDomain, getAgent, getDomainRecipients, getMessage, getOtherRecipients, getRecipients, getRejectedRecipients, getSender, hasDomainRecipients, hasOtherRecipients, hasRecipients, hasRejectedRecipients, serializeMessage, setAgent, setMessagepublic OutgoingMessage(Message message)
message - The message to be enveloped.public OutgoingMessage(Message message, NHINDAddressCollection recipients, NHINDAddress sender)
message - The message to be enveloped.recipients - The message recipients.sender - The message sender.public OutgoingMessage(String message)
message - The raw string representation of the message to be enveloped.public OutgoingMessage(String message, NHINDAddressCollection recipients, NHINDAddress sender)
message - The raw string representation of the message to be enveloped.recipients - The message recipients.sender - The message sender.public OutgoingMessage(MessageEnvelope envelope)
message - The raw string representation of the message to be enveloped.Copyright © 2010-2016 NHIN Direct. All Rights Reserved.