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