MsgSaveOptions class

This class allows the user to specify additional settings when saving a MailMessage in the Msg(ASCII) and Msg(Unicode) format.

public class MsgSaveOptions : SaveOptions


Name Description
MsgSaveOptions(MailMessageSaveType) Initializes a new instance of this class that can be used to save a MailMessage in the Msg(ASCII) and Msg(Unicode) format.


Name Description
CustomProgressHandler { get; set; } Represents method that usually supplied by calling side and handles progress events.
MailMessageSaveType { get; set; } Represents the mail message save type.It can be in eml,msg(ASCII or Unicode),mhtml or html format. The default value is Eml.
PreserveOriginalDates { get; set; } Gets or sets a value indicating whether it is necessary to generate new saving and modification dates when saving a message. By default the value is false, meaning the creation and modification dates will be set to DateTime.Now.
PreserveSignature { get; set; } Set to true, if signature is to be preserved.
SaveAsTemplate { get; set; } Set to true, if need to be saved as Outlook File Template(OFT format).

See Also