public class MailMessageLoadOptions extends Object
This class allows the user to specify additional options when loading a message.
Constructor and Description |
---|
MailMessageLoadOptions()
Initializes a new instance of the
Aspose.Email.Mail.MailMessageLoadOptions class. |
Modifier and Type | Method and Description |
---|---|
static MailMessageLoadOptions |
getDefaultEml()
Gets options with default values for Eml format of message.
|
static MailMessageLoadOptions |
getDefaultMsg()
Gets options with default values for Msg format of message.
|
int |
getFileCompatibilityMode()
Defines inner conversions,that are necessarily to be done when loading a message.
|
MessageFormat |
getMessageFormat()
Represents the mail message format.It can be in eml,msg or mhtml format.
|
Charset |
getPrefferedTextEncoding() |
void |
setFileCompatibilityMode(int value) |
void |
setMessageFormat(MessageFormat value) |
void |
setPrefferedTextEncoding(Charset value) |
public MailMessageLoadOptions()
Initializes a new instance of the Aspose.Email.Mail.MailMessageLoadOptions
class.
public Charset getPrefferedTextEncoding()
public void setPrefferedTextEncoding(Charset value)
public MessageFormat getMessageFormat()
Represents the mail message format.It can be in eml,msg or mhtml format. The default value is Eml.
public void setMessageFormat(MessageFormat value)
public int getFileCompatibilityMode()
Defines inner conversions,that are necessarily to be done when loading a message. The default value is FileCompatibilityMode.None.
public void setFileCompatibilityMode(int value)
public static MailMessageLoadOptions getDefaultEml()
Gets options with default values for Eml format of message.
public static MailMessageLoadOptions getDefaultMsg()
Gets options with default values for Msg format of message.
Copyright (c) 2008-2014 Aspose Pty Ltd. All Rights Reserved.