public class ActivityMailMessageInterpretor extends MailMessageInterpretor
Represents a MailMessage interpretor for the activity message type of Outlook MapiMessage.
Constructor and Description |
---|
ActivityMailMessageInterpretor()
Initializes a new instance of the ActivityMailMessageInterpretor class.
|
Modifier and Type | Method and Description |
---|---|
MailMessageInterpretor |
deepClone()
Creates a copy of the current instance.
|
com.aspose.ms.System.Collections.Specialized.StringDictionary |
getFormatTemplates()
Gets the format template collection.
|
protected void |
loadMessageBodyHtml(MailMessage mailMessage,
MapiMessage mapiMessage)
Creates the HtmlBody property of the MailMessage according to the specified MapiMessage instance.
|
protected void |
loadMessageHeader(MailMessage mailmessage,
MapiMessage mapiMessage)
Imports the headers of MIME protocol to a MailMessage from the MapiMessage instance.
|
void |
save(MapiMessage mapiMessage,
OutputStream stream,
MessageFormat messageFormat)
Saves the specified MapiMessage to a Stream.
|
interpret, interpretAsTnef, loadAttachment, loadEachAttachment, loadMessageBody, loadMessageBodyText
public ActivityMailMessageInterpretor()
Initializes a new instance of the ActivityMailMessageInterpretor class.
public MailMessageInterpretor deepClone()
Creates a copy of the current instance.
deepClone
in class MailMessageInterpretor
protected void loadMessageHeader(MailMessage mailmessage, MapiMessage mapiMessage)
Imports the headers of MIME protocol to a MailMessage from the MapiMessage instance.
loadMessageHeader
in class MailMessageInterpretor
mailmessage
- The target MailMessage.mapiMessage
- The source MapiMessage.protected void loadMessageBodyHtml(MailMessage mailMessage, MapiMessage mapiMessage)
Creates the HtmlBody property of the MailMessage according to the specified MapiMessage instance.
loadMessageBodyHtml
in class MailMessageInterpretor
mailMessage
- The target MailMessage.mapiMessage
- The source MapiMessage.public void save(MapiMessage mapiMessage, OutputStream stream, MessageFormat messageFormat)
Saves the specified MapiMessage to a Stream.
save
in class MailMessageInterpretor
mapiMessage
- The source MapiMessage instance.stream
- The target streammessageFormat
- The message format.public com.aspose.ms.System.Collections.Specialized.StringDictionary getFormatTemplates()
Gets the format template collection.
StringDictionary
object.Copyright (c) 2008-2016 Aspose Pty Ltd. All Rights Reserved.