public class AppointmentMailMessageInterpretor extends MailMessageInterpretor
Represents an appointment mail message.
Constructor and Description |
---|
AppointmentMailMessageInterpretor()
Initializes a new instance of the AppointmentMailMessageInterpretor class.
|
Modifier and Type | Method and Description |
---|---|
MailMessageInterpretor |
deepClone()
Creates a copy of current instance.
|
com.aspose.ms.System.Collections.Specialized.StringDictionary |
getFormatTemplates()
Gets the format templates.
|
MailMessage |
interpret(MapiMessage mapiMessage)
Interprets the given
Aspose.Email.Outlook.MapiMessage to appointment mail message. |
protected void |
loadMessageBodyHtml(MailMessage mailMessage,
MapiMessage mapiMessage)
Creates the HtmlBody property of the MailMessage according to the specified MapiMessage instance.
|
void |
save(MapiMessage mapiMessage,
OutputStream stream,
MessageFormat messageFormat)
Saves the specified MapiMessage to a Stream.
|
interpretAsTnef, loadAttachment, loadEachAttachment, loadMessageBody, loadMessageBodyText, loadMessageHeader
public AppointmentMailMessageInterpretor()
Initializes a new instance of the AppointmentMailMessageInterpretor class.
public MailMessageInterpretor deepClone()
Creates a copy of current instance.
deepClone
in class MailMessageInterpretor
public MailMessage interpret(MapiMessage mapiMessage)
Interprets the given Aspose.Email.Outlook.MapiMessage
to appointment mail message.
interpret
in class MailMessageInterpretor
mapiMessage
- The source Aspose.Email.Outlook.MapiMessage
.Aspose.Email.Mail.MailMessage
.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 templates.
StringDictionary
object.Copyright (c) 2008-2016 Aspose Pty Ltd. All Rights Reserved.