| Constructor and Description |
|---|
NotificationMessage(String to,
Notification notification)
Initializes an MDN to the specified recipient.
|
NotificationMessage(String to,
String from,
Notification notification)
Initializes an MDN to the specified recipient.
|
| Modifier and Type | Method and Description |
|---|---|
static NotificationMessage |
createNotificationFor(Message message,
Notification notification)
Takes a message and constructs an MDN.
|
extractEntityForSignature, extractMimeEntity, getBCCHeader, getCCHeader, getContentAsBytes, getDateHeader, getFromHeader, getIDHeader, getSubjectHeader, getToHeader, toStringaddFrom, addHeader, addHeaderLine, addRecipients, addRecipients, getAllHeaderLines, getAllHeaders, getAllRecipients, getContent, getContentID, getContentLanguage, getContentMD5, getContentType, getDataHandler, getDescription, getDisposition, getEncoding, getFileName, getFlags, getFrom, getHeader, getHeader, getInputStream, getLineCount, getMatchingHeaderLines, getMatchingHeaders, getMessageID, getNonMatchingHeaderLines, getNonMatchingHeaders, getRawInputStream, getReceivedDate, getRecipients, getReplyTo, getSender, getSentDate, getSize, getSubject, isMimeType, isSet, removeHeader, reply, saveChanges, setContent, setContent, setContentID, setContentLanguage, setContentMD5, setDataHandler, setDescription, setDescription, setDisposition, setFileName, setFlags, setFrom, setFrom, setHeader, setRecipients, setRecipients, setReplyTo, setSender, setSentDate, setSubject, setSubject, setText, setText, setText, writeTo, writeTopublic NotificationMessage(String to, Notification notification) throws javax.mail.MessagingException
to - The MDN recipient.notification - The notification to send.javax.mail.MessagingExceptionpublic NotificationMessage(String to, String from, Notification notification) throws javax.mail.MessagingException
to - The MDN recipient.from - The original message receiver who is sending the MDNnotification - The notification to send.javax.mail.MessagingExceptionpublic static NotificationMessage createNotificationFor(Message message, Notification notification)
message - The message to send notification about.notification - The notification to create.Copyright © 2010-2016 NHIN Direct. All Rights Reserved.