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.
|
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.
|
createSaveOptions, getDefaultEml, getDefaultHtml, getDefaultMhtml, getDefaultMsg, getDefaultMsgUnicode, getMailMessageSaveType, 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.
saveType
- a MailMessageSaveType
object.public boolean getPreserveOriginalDates()
Gets or sets a value indicating whether it is necessary to generate new saving and modification dates when saving a message.
public 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.
value
- a boolean.public boolean getPreserveSignature()
Set to true, if signature is to be preserved.
public void setPreserveSignature(boolean value)
Set to true, if signature is to be preserved.
value
- a boolean.Copyright (c) 2008-2016 Aspose Pty Ltd. All Rights Reserved.