public class MesageLoadOptions extends Object
This class allows the user to specify additional options when loading a message.
Constructor and Description |
---|
MesageLoadOptions()
Initializes a new instance of the
Aspose.Email.Mail.MesageLoadOptions class. |
Modifier and Type | Method and Description |
---|---|
static MesageLoadOptions |
getDefaultEml()
Gets options with default values for Eml format of message.
|
static MesageLoadOptions |
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 MesageLoadOptions()
Initializes a new instance of the Aspose.Email.Mail.MesageLoadOptions
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 MesageLoadOptions getDefaultEml()
Gets options with default values for Eml format of message.
public static MesageLoadOptions getDefaultMsg()
Gets options with default values for Msg format of message.
Copyright (c) 2008-2013 Aspose Pty Ltd. All Rights Reserved.