MsgPackage

Inheritance: java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.EmailPackage

public class MsgPackage extends EmailPackage

Represents MSG message metadata.

Learn more


Methods

Method Description
getBody() Gets the email message text.
setBody(String value) Sets the email message text.
getCategories() Gets the array of categories or keywords.
setCategories(String[] value) Sets the array of categories or keywords.
getSenderName() Gets the display name of the sender.
setSenderName(String value) Sets the display name of the sender.
getAttachments() Gets an array of the attached files.
setAttachments(MsgAttachmentPackage[] value) Sets an array of the attached files.
getDeliveryTime() Gets the date and time the message was delivered.
setDeliveryTime(Date value) Sets the date and time the message was delivered.
getClientSubmitTime() Gets the date and time the message was submitted by the client.
setClientSubmitTime(Date value) Sets the date and time the message was submitted by the client.
getInternetMessageId() Gets the Internet message identifier of the message.
getBilling() Gets the billing information associated with the message.
setBilling(String value) Sets the billing information associated with the message.
getBodyHtml() Gets the HTML body of the message.
setBodyHtml(String value) Sets the HTML body of the message.
getBodyRtf() Gets the RTF body of the message.
setBodyRtf(String value) Sets the RTF body of the message.
getConversationTopic() Gets the conversation topic.
getDisplayBcc() Gets the list of BCC display names.
getDisplayCc() Gets the list of CC display names.
getDisplayName() Gets the display name of the message.
getDisplayNamePrefix() Gets the display name prefix.
getDisplayTo() Gets the list of the To display names.
isEncrypted() Gets the value indicating whether the message is encrypted.
isSigned() Gets the value indicating whether the message is signed.
isTemplate() Gets the value indicating whether the message is a template.
getNormalizedSubject() Gets the normalized subject.
getReadReceiptRequested() Gets the value indicating whether a read receipt is requested.
setReadReceiptRequested(boolean value) Sets the value indicating whether a read receipt is requested.
getReplyTo() Gets the reply-to names.
setReplyTo(String value) Sets the reply-to names.
getSenderAddressType() Gets the e-mail address type of the sender.
getSenderSmtpAddress() Gets the SMTP e-mail address of the sender.
setSenderSmtpAddress(String value) Sets the SMTP e-mail address of the sender.
getSentRepresentingAddressType() Gets the address type of the sent-representing party.
getSentRepresentingEmailAddress() Gets the e-mail address of the sent-representing party.
setSentRepresentingEmailAddress(String value) Sets the e-mail address of the sent-representing party.
getSentRepresentingName() Gets the display name of the sent-representing party.
setSentRepresentingName(String value) Sets the display name of the sent-representing party.
getSentRepresentingSmtpAddress() Gets the SMTP address of the sent-representing party.
getTransportMessageHeaders() Gets the transport message headers.
getMileage() Gets the mileage information.
setMileage(String value) Sets the mileage information.
getSubjectPrefix() Gets the subject prefix.

getBody()

public final String getBody()

Gets the email message text.

Returns: java.lang.String - The email message text.

setBody(String value)

public final void setBody(String value)

Sets the email message text.

Parameters:

Parameter Type Description
value java.lang.String The email message text.

getCategories()

public final String[] getCategories()

Gets the array of categories or keywords.

Returns: java.lang.String[] - The array of categories or keywords.

setCategories(String[] value)

public final void setCategories(String[] value)

Sets the array of categories or keywords.

Parameters:

Parameter Type Description
value java.lang.String[] The array of categories or keywords.

getSenderName()

public final String getSenderName()

Gets the display name of the sender.

Returns: java.lang.String - The display name of the sender.

setSenderName(String value)

public final void setSenderName(String value)

Sets the display name of the sender.

Parameters:

Parameter Type Description
value java.lang.String The display name of the sender.

getAttachments()

public final MsgAttachmentPackage[] getAttachments()

Gets an array of the attached files.

Returns: com.groupdocs.metadata.core.MsgAttachmentPackage[] - An array of the attached files.

setAttachments(MsgAttachmentPackage[] value)

public final void setAttachments(MsgAttachmentPackage[] value)

Sets an array of the attached files.

Parameters:

Parameter Type Description
value MsgAttachmentPackage[] An array of the attached files.

getDeliveryTime()

public final Date getDeliveryTime()

Gets the date and time the message was delivered.

Returns: java.util.Date - The delivery time.

setDeliveryTime(Date value)

public final void setDeliveryTime(Date value)

Sets the date and time the message was delivered.

Parameters:

Parameter Type Description
value java.util.Date The delivery time.

getClientSubmitTime()

public final Date getClientSubmitTime()

Gets the date and time the message was submitted by the client.

Returns: java.util.Date - The client submit time.

setClientSubmitTime(Date value)

public final void setClientSubmitTime(Date value)

Sets the date and time the message was submitted by the client.

Parameters:

Parameter Type Description
value java.util.Date The client submit time.

getInternetMessageId()

public final String getInternetMessageId()

Gets the Internet message identifier of the message.

Returns: java.lang.String - The Internet message identifier of the message.

getBilling()

public final String getBilling()

Gets the billing information associated with the message.

Returns: java.lang.String - The billing information associated with the message.

setBilling(String value)

public final void setBilling(String value)

Sets the billing information associated with the message.

Parameters:

Parameter Type Description
value java.lang.String The billing information associated with the message.

getBodyHtml()

public final String getBodyHtml()

Gets the HTML body of the message.

Returns: java.lang.String - The HTML body of the message.

setBodyHtml(String value)

public final void setBodyHtml(String value)

Sets the HTML body of the message.

Parameters:

Parameter Type Description
value java.lang.String The HTML body of the message.

getBodyRtf()

public final String getBodyRtf()

Gets the RTF body of the message.

Returns: java.lang.String - The RTF body of the message.

setBodyRtf(String value)

public final void setBodyRtf(String value)

Sets the RTF body of the message.

Parameters:

Parameter Type Description
value java.lang.String The RTF body of the message.

getConversationTopic()

public final String getConversationTopic()

Gets the conversation topic.

Returns: java.lang.String - The conversation topic.

getDisplayBcc()

public final String getDisplayBcc()

Gets the list of BCC display names.

Returns: java.lang.String - The list of BCC display names.

getDisplayCc()

public final String getDisplayCc()

Gets the list of CC display names.

Returns: java.lang.String - The list of CC display names.

getDisplayName()

public final String getDisplayName()

Gets the display name of the message.

Returns: java.lang.String - The display name of the message.

getDisplayNamePrefix()

public final String getDisplayNamePrefix()

Gets the display name prefix.

Returns: java.lang.String - The display name prefix.

getDisplayTo()

public final String getDisplayTo()

Gets the list of the To display names.

Returns: java.lang.String - The list of the To display names.

isEncrypted()

public final boolean isEncrypted()

Gets the value indicating whether the message is encrypted.

Returns: boolean - The value indicating whether the message is encrypted.

isSigned()

public final boolean isSigned()

Gets the value indicating whether the message is signed.

Returns: boolean - The value indicating whether the message is signed.

isTemplate()

public final boolean isTemplate()

Gets the value indicating whether the message is a template.

Returns: boolean - The value indicating whether the message is a template.

getNormalizedSubject()

public final String getNormalizedSubject()

Gets the normalized subject.

Returns: java.lang.String - The normalized subject.

getReadReceiptRequested()

public final boolean getReadReceiptRequested()

Gets the value indicating whether a read receipt is requested.

Returns: boolean - The value indicating whether a read receipt is requested.

setReadReceiptRequested(boolean value)

public final void setReadReceiptRequested(boolean value)

Sets the value indicating whether a read receipt is requested.

Parameters:

Parameter Type Description
value boolean The value indicating whether a read receipt is requested.

getReplyTo()

public final String getReplyTo()

Gets the reply-to names.

Returns: java.lang.String - The reply-to names.

setReplyTo(String value)

public final void setReplyTo(String value)

Sets the reply-to names.

Parameters:

Parameter Type Description
value java.lang.String The reply-to names.

getSenderAddressType()

public final String getSenderAddressType()

Gets the e-mail address type of the sender.

Returns: java.lang.String - The e-mail address type of the sender.

getSenderSmtpAddress()

public final String getSenderSmtpAddress()

Gets the SMTP e-mail address of the sender.

Returns: java.lang.String - The SMTP e-mail address of the sender.

setSenderSmtpAddress(String value)

public final void setSenderSmtpAddress(String value)

Sets the SMTP e-mail address of the sender.

Parameters:

Parameter Type Description
value java.lang.String The SMTP e-mail address of the sender.

getSentRepresentingAddressType()

public final String getSentRepresentingAddressType()

Gets the address type of the sent-representing party.

Returns: java.lang.String - The address type of the sent-representing party.

getSentRepresentingEmailAddress()

public final String getSentRepresentingEmailAddress()

Gets the e-mail address of the sent-representing party.

Returns: java.lang.String - The e-mail address of the sent-representing party.

setSentRepresentingEmailAddress(String value)

public final void setSentRepresentingEmailAddress(String value)

Sets the e-mail address of the sent-representing party.

Parameters:

Parameter Type Description
value java.lang.String The e-mail address of the sent-representing party.

getSentRepresentingName()

public final String getSentRepresentingName()

Gets the display name of the sent-representing party.

Returns: java.lang.String - The display name of the sent-representing party.

setSentRepresentingName(String value)

public final void setSentRepresentingName(String value)

Sets the display name of the sent-representing party.

Parameters:

Parameter Type Description
value java.lang.String The display name of the sent-representing party.

getSentRepresentingSmtpAddress()

public final String getSentRepresentingSmtpAddress()

Gets the SMTP address of the sent-representing party.

Returns: java.lang.String - The SMTP address of the sent-representing party.

getTransportMessageHeaders()

public final String getTransportMessageHeaders()

Gets the transport message headers.

Returns: java.lang.String - The transport message headers.

getMileage()

public final String getMileage()

Gets the mileage information.

Returns: java.lang.String - The mileage information.

setMileage(String value)

public final void setMileage(String value)

Sets the mileage information.

Parameters:

Parameter Type Description
value java.lang.String The mileage information.

getSubjectPrefix()

public final String getSubjectPrefix()

Gets the subject prefix.

Returns: java.lang.String - The subject prefix.