public class MsgSaveOptions extends SaveOptions
This class allows the user to specify additional settings when saving a MailMessage in the Msg(ASCII) and Msg(Unicode) format.
Constructor and Description |
---|
MsgSaveOptions(MailMessageSaveType saveType)
Initializes a new instance of this class that can be used to save a MailMessage in the Msg(ASCII) and Msg(Unicode) format.
|
Modifier and Type | Method and Description |
---|---|
boolean |
getPreserveOriginalDates()
Gets or sets a value indicating whether it is necessary to generate
new saving and modification dates when saving a message.
|
boolean |
getPreserveSignature()
Set to true, if signature is to be preserved.
|
boolean |
getSaveAsTemplate()
Set to true, if need to be saved as Outlook File Template(OFT format).
|
void |
setPreserveOriginalDates(boolean value)
Gets or sets a value indicating whether it is necessary to generate
new saving and modification dates when saving a message.
|
void |
setPreserveSignature(boolean value)
Set to true, if signature is to be preserved.
|
void |
setSaveAsTemplate(boolean value)
Set to true, if need to be saved as Outlook File Template(OFT format).
|
createSaveOptions, getCustomProgressHandler, getDefaultEml, getDefaultHtml, getDefaultMhtml, getDefaultMsg, getDefaultMsgUnicode, getMailMessageSaveType, setCustomProgressHandler, setMailMessageSaveType
public MsgSaveOptions(MailMessageSaveType saveType)
Initializes a new instance of this class that can be used to save a MailMessage in the Msg(ASCII) and Msg(Unicode) format.
public final boolean getPreserveOriginalDates()
Gets or sets a value indicating whether it is necessary to generate new saving and modification dates when saving a message.
public final void setPreserveOriginalDates(boolean value)
Gets or sets a value indicating whether it is necessary to generate new saving and modification dates when saving a message.
public final boolean getPreserveSignature()
Set to true, if signature is to be preserved.
public final void setPreserveSignature(boolean value)
Set to true, if signature is to be preserved.
public final boolean getSaveAsTemplate()
Set to true, if need to be saved as Outlook File Template(OFT format).
public final void setSaveAsTemplate(boolean value)
Set to true, if need to be saved as Outlook File Template(OFT format).