public class OutlookMessage extends Object
fromEmail). Attachments are stored in the
property outlookAttachments). An attachment may be of the type OutlookMsgAttachment which represents another attached (encapsulated) .msg
object.| Constructor and Description |
|---|
OutlookMessage() |
OutlookMessage(org.bbottema.rtftohtml.RTF2HTMLConverter rtf2htmlConverter) |
| Modifier and Type | Method and Description |
|---|---|
void |
addAttachment(OutlookAttachment outlookAttachment) |
void |
addRecipient(OutlookRecipient recipient) |
Map<String,OutlookFileAttachment> |
fetchCIDMap() |
List<OutlookFileAttachment> |
fetchTrueAttachments() |
List<OutlookRecipient> |
getBccRecipients()
Retrieves a list of
OutlookRecipient objects that represent the BCC recipients of the message. |
String |
getBodyHTML()
Bean getter for
bodyHTML. |
String |
getBodyRTF()
Bean getter for
bodyRTF. |
String |
getBodyText()
Bean getter for
bodyText. |
List<OutlookRecipient> |
getCcRecipients()
Retrieves a list of
OutlookRecipient objects that represent the CC recipients of the message. |
Date |
getClientSubmitTime()
Bean getter for
clientSubmitTime. |
String |
getConvertedBodyHTML()
Bean getter for
convertedBodyHTML. |
Date |
getCreationDate()
Bean getter for
creationDate. |
Date |
getDate()
Bean getter for
date. |
String |
getDisplayBcc()
Bean getter for
displayBcc. |
String |
getDisplayCc()
Bean getter for
displayCc. |
String |
getDisplayTo()
Bean getter for
displayTo. |
String |
getFromEmail()
Bean getter for
fromEmail. |
String |
getFromName()
Bean getter for
fromName. |
String |
getHeaders()
Bean getter for
headers. |
Date |
getLastModificationDate()
Bean getter for
lastModificationDate. |
String |
getMessageClass()
Bean getter for
messageClass. |
String |
getMessageId()
Bean getter for
messageId. |
List<OutlookAttachment> |
getOutlookAttachments()
Bean getter for
outlookAttachments. |
Set<String> |
getPropertiesAsHex()
This method provides a convenient way of retrieving
property keys for all guys that like to stick to hex values.
|
Set<Integer> |
getPropertyCodes()
This method returns a list of all available properties.
|
String |
getPropertyListing()
Generates a string that can be used to debug the properties of the msg.
|
List<OutlookRecipient> |
getRecipients()
Bean getter for
recipients. |
String |
getReplyToEmail()
Bean getter for
replyToEmail. |
String |
getReplyToName()
Bean getter for
replyToName. |
OutlookSmime |
getSmime()
Bean getter for
smime. |
String |
getSubject()
Bean getter for
subject. |
List<OutlookRecipient> |
getToRecipients()
Retrieves a list of
OutlookRecipient objects that represent the CC recipients of the message. |
void |
setProperty(OutlookMessageProperty msgProp)
Sets the name/value pair in the
properties map. |
void |
setReplyToEmail(String replyToEmail)
Bean setter for
replyToEmail. |
void |
setReplyToName(String replyToName)
Bean setter for
replyToName. |
void |
setSmime(OutlookSmime smime)
Bean setter for
smime. |
String |
toString() |
public OutlookMessage()
public OutlookMessage(org.bbottema.rtftohtml.RTF2HTMLConverter rtf2htmlConverter)
public void addAttachment(OutlookAttachment outlookAttachment)
public void addRecipient(OutlookRecipient recipient)
public void setProperty(OutlookMessageProperty msgProp)
properties map. Some properties are put into special attributes (e.g., setSubject(String) when the property name is '0x37').public Map<String,OutlookFileAttachment> fetchCIDMap()
public List<OutlookFileAttachment> fetchTrueAttachments()
public List<OutlookAttachment> getOutlookAttachments()
outlookAttachments.public List<OutlookRecipient> getRecipients()
recipients.public String getDisplayBcc()
displayBcc.public String getMessageClass()
messageClass.public List<OutlookRecipient> getToRecipients()
OutlookRecipient objects that represent the CC recipients of the message.public List<OutlookRecipient> getCcRecipients()
OutlookRecipient objects that represent the CC recipients of the message.public List<OutlookRecipient> getBccRecipients()
OutlookRecipient objects that represent the BCC recipients of the message.public String getConvertedBodyHTML()
convertedBodyHTML.public Date getClientSubmitTime()
clientSubmitTime.public Date getCreationDate()
creationDate.public Date getLastModificationDate()
lastModificationDate.public Set<String> getPropertiesAsHex()
getPropertyCodes().public Set<Integer> getPropertyCodes()
public String getPropertyListing()
public String getReplyToEmail()
replyToEmail.public void setReplyToEmail(String replyToEmail)
replyToEmail.public String getReplyToName()
replyToName.public void setReplyToName(String replyToName)
replyToName.public void setSmime(OutlookSmime smime)
smime.public OutlookSmime getSmime()
smime.Copyright © 2017–2020. All rights reserved.