|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.mail.Message
javax.mail.internet.MimeMessage
org.nhindirect.stagent.mail.Message
org.nhindirect.stagent.mail.notifications.NotificationMessage
public class NotificationMessage
Represents a message disposition notification (MDN) sent to a message sender, as per RFC 3798
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class javax.mail.internet.MimeMessage |
|---|
javax.mail.internet.MimeMessage.RecipientType |
| Field Summary |
|---|
| Fields inherited from interface javax.mail.Part |
|---|
ATTACHMENT, INLINE |
| Constructor Summary | |
|---|---|
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. |
|
| Method Summary | |
|---|---|
static NotificationMessage |
createNotificationFor(Message message,
Notification notification)
Takes a message and constructs an MDN. |
| Methods inherited from class org.nhindirect.stagent.mail.Message |
|---|
extractEntityForSignature, extractMimeEntity, getBCCHeader, getCCHeader, getContentAsBytes, getDateHeader, getFromHeader, getIDHeader, getSubjectHeader, getToHeader, toString |
| Methods inherited from class javax.mail.internet.MimeMessage |
|---|
addFrom, 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, writeTo |
| Methods inherited from class javax.mail.Message |
|---|
addRecipient, getFolder, getMessageNumber, isExpunged, match, setFlag, setRecipient |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public NotificationMessage(String to,
Notification notification)
throws javax.mail.MessagingException
to - The MDN recipient.notification - The notification to send.
javax.mail.MessagingException
public 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.MessagingException| Method Detail |
|---|
public static NotificationMessage createNotificationFor(Message message,
Notification notification)
message - The message to send notification about.notification - The notification to create.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||