public final class EmailLoadOptions extends LoadOptions implements com.groupdocs.conversion.contracts.IDocumentsContainerLoadOptions, Cloneable, Serializable
Options for loading Email documents.
| Constructor and Description |
|---|
EmailLoadOptions()
Initializes new instance of
EmailLoadOptions class. |
| Modifier and Type | Method and Description |
|---|---|
Object |
deepClone()
Clones current instance.
|
int |
getDepth()
Option to control how many levels in depth to perform conversion
|
boolean |
getDisplayBccEmailAddress()
Option to display or hide "Bcc" email address.
|
boolean |
getDisplayCcEmailAddress()
Option to display or hide "Cc" email address.
|
boolean |
getDisplayEmailAddress()
Deprecated.
|
boolean |
getDisplayFromEmailAddress()
Option to display or hide "from" email address.
|
boolean |
getDisplayHeader()
Option to display or hide the email header.
|
boolean |
getDisplayToEmailAddress()
Option to display or hide "to" email address.
|
Map<EmailField,String> |
getFieldTextMap()
Gets the mapping between email message
|
EmailFileType |
getFormat()
Input document file type
|
com.aspose.ms.System.TimeSpan |
getResourceLoadingTimeout()
|
Double |
getTimeZoneOffset()
Gets or sets the Coordinated Universal Time (UTC) offset for the message dates.
|
com.aspose.ms.System.TimeSpan |
getTimeZoneOffsetInternal() |
boolean |
isConvertOwned()
Option to control whether the owned documents in the documents container must be converted
|
boolean |
isConvertOwner()
Gets option to control whether the documents container itself must be converted
|
boolean |
isDisplayAttachments()
Gets option to display or hide attachments in the header.
|
boolean |
isDisplaySent()
Gets option to display or hide sent date/time in the header.
|
boolean |
isDisplaySubject()
Gets option to display or hide subject in the header.
|
boolean |
isPreserveOriginalDate()
Defines whether need to keep original date header string in mail message when saving or not (Default value is true)
|
boolean |
isSkipExternalResources()
Skips the http resource loading if true
|
void |
setConvertOwned(boolean convertOwned) |
void |
setConvertOwner(boolean convertOwner) |
void |
setDepth(int depth) |
void |
setDisplayAttachments(boolean displayAttachments)
Sets option to display or hide attachments in the header.
|
void |
setDisplayBccEmailAddress(boolean value)
Option to display or hide "Bcc" email address.
|
void |
setDisplayCcEmailAddress(boolean value)
Option to display or hide "Cc" email address.
|
void |
setDisplayEmailAddress(boolean value)
Deprecated.
|
void |
setDisplayFromEmailAddress(boolean value)
Option to display or hide "from" email address.
|
void |
setDisplayHeader(boolean value)
Option to display or hide the email header.
|
void |
setDisplaySent(boolean displaySent)
Sets option to display or hide sent date/time in the header.
|
void |
setDisplaySubject(boolean displaySubject)
Sets option to display or hide subject in the header
|
void |
setDisplayToEmailAddress(boolean value)
Option to display or hide "to" email address.
|
void |
setFieldTextMap(Map<EmailField,String> fieldTextMap)
Sets the mapping between email message
|
void |
setPreserveOriginalDate(boolean preserveOriginalDate)
Defines whether need to keep original date header string in mail message when saving or not
|
void |
setResourceLoadingTimeout(com.aspose.ms.System.TimeSpan resourceLoadingTimeout)
|
void |
setSkipExternalResources(boolean skipExternalResources) |
void |
setTimeZoneOffset(Double value)
Gets or sets the Coordinated Universal Time (UTC) offset for the message dates.
|
setFormatequals, equals, hashCode, op_Equality, op_Inequalitypublic EmailLoadOptions()
Initializes new instance of EmailLoadOptions class.
public final EmailFileType getFormat()
LoadOptionsInput document file type
getFormat in class LoadOptionspublic final boolean getDisplayHeader()
Option to display or hide the email header. Default: true.
public final void setDisplayHeader(boolean value)
Option to display or hide the email header. Default: true.
public final boolean getDisplayFromEmailAddress()
Option to display or hide "from" email address. Default: true.
public final void setDisplayFromEmailAddress(boolean value)
Option to display or hide "from" email address. Default: true.
@Deprecated public final boolean getDisplayEmailAddress()
Gets an option to display or hide email address. Default: true. This property will be removed in v25.9. Use getDisplayFromEmailAddress property instead.
@Deprecated public final void setDisplayEmailAddress(boolean value)
Sets an option to display or hide email address. This property will be removed in v25.9. Use setDisplayFromEmailAddress property instead.
public final boolean getDisplayToEmailAddress()
Option to display or hide "to" email address. Default: true.
public final void setDisplayToEmailAddress(boolean value)
Option to display or hide "to" email address. Default: true.
public final boolean getDisplayCcEmailAddress()
Option to display or hide "Cc" email address. Default: false.
public final void setDisplayCcEmailAddress(boolean value)
Option to display or hide "Cc" email address. Default: false.
public final boolean getDisplayBccEmailAddress()
Option to display or hide "Bcc" email address. Default: false.
public final void setDisplayBccEmailAddress(boolean value)
Option to display or hide "Bcc" email address. Default: false.
public final Double getTimeZoneOffset()
Gets or sets the Coordinated Universal Time (UTC) offset for the message dates. This property defines the time zone difference, between the localtime and UTC.
public com.aspose.ms.System.TimeSpan getTimeZoneOffsetInternal()
public com.aspose.ms.System.TimeSpan getResourceLoadingTimeout()
public void setResourceLoadingTimeout(com.aspose.ms.System.TimeSpan resourceLoadingTimeout)
public final void setTimeZoneOffset(Double value)
Gets or sets the Coordinated Universal Time (UTC) offset for the message dates. This property defines the time zone difference, between the localtime and UTC.
public final Object deepClone()
Clones current instance.
public Map<EmailField,String> getFieldTextMap()
public void setFieldTextMap(Map<EmailField,String> fieldTextMap)
fieldTextMap - mappingpublic boolean isPreserveOriginalDate()
public void setPreserveOriginalDate(boolean preserveOriginalDate)
preserveOriginalDate - preserve original datepublic boolean isConvertOwner()
com.groupdocs.conversion.contracts.IDocumentsContainerLoadOptionsisConvertOwner in interface com.groupdocs.conversion.contracts.IDocumentsContainerLoadOptionspublic void setConvertOwner(boolean convertOwner)
public boolean isConvertOwned()
com.groupdocs.conversion.contracts.IDocumentsContainerLoadOptionsisConvertOwned in interface com.groupdocs.conversion.contracts.IDocumentsContainerLoadOptionspublic void setConvertOwned(boolean convertOwned)
public int getDepth()
com.groupdocs.conversion.contracts.IDocumentsContainerLoadOptionsgetDepth in interface com.groupdocs.conversion.contracts.IDocumentsContainerLoadOptionspublic void setDepth(int depth)
public boolean isDisplayAttachments()
public void setDisplayAttachments(boolean displayAttachments)
public boolean isDisplaySubject()
public void setDisplaySubject(boolean displaySubject)
public boolean isDisplaySent()
public void setDisplaySent(boolean displaySent)
public boolean isSkipExternalResources()
public void setSkipExternalResources(boolean skipExternalResources)
Copyright © 2026. All rights reserved.