EmailReaderOptions
OfficeIMO.Email
Immutable resource and preservation policy for EmailDocumentReader.
Inheritance
- object
- EmailReaderOptions
Usage
Explore 16 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by 4
- Property EmailDataOpenOptions.Email
- Property EmailDocumentReader.Options
- Property EmailMailboxReaderOptions.MessageOptions
- Property EmailReaderOptions.Default
Accepted by parameters 12
- Constructor EmailDataOpenOptions.EmailDataOpenOptions
- Method EmailDocument.Load
- Method EmailDocument.LoadAsync
- Constructor EmailDocumentReader.EmailDocumentReader
- Method EmailDocumentReader.DetectFormat
- Constructor EmailMailboxReaderOptions.EmailMailboxReaderOptions
- Method EmailMapiProjection.Project
- Method EmailPgp.Decrypt
- Method EmailPgp.Verify
- Method EmailSmime.Decrypt
- Method EmailSmime.DecryptThenVerify
- Method EmailSmime.Verify
Constructors
public EmailReaderOptions(long maxInputBytes = 268435456, int maxHeaderBytes = 1048576, int maxHeaderCount = 10000, int maxPartCount = 10000, int maxMimeDepth = 64, long maxAttachmentBytes = 134217728, long maxTotalAttachmentBytes = 536870912, int maxNestedMessageDepth = 16, bool includeAttachmentContent = true, bool preserveRawSource = false, int maxCompoundDirectoryEntries = 65536, int maxMapiPropertyCount = 100000, long maxDecodedPropertyBytes = 536870912, int maxTnefAttributeCount = 100000, int maxAttachmentCount = 10000, bool includeEmbeddedMessages = true) #Creates reader options.
Parameters
- maxInputBytes long = 268435456
- maxHeaderBytes int = 1048576
- maxHeaderCount int = 10000
- maxPartCount int = 10000
- maxMimeDepth int = 64
- maxAttachmentBytes long = 134217728
- maxTotalAttachmentBytes long = 536870912
- maxNestedMessageDepth int = 16
- includeAttachmentContent bool = true
- preserveRawSource bool = false
- maxCompoundDirectoryEntries int = 65536
- maxMapiPropertyCount int = 100000
- maxDecodedPropertyBytes long = 536870912
- maxTnefAttributeCount int = 100000
- maxAttachmentCount int = 10000
- includeEmbeddedMessages bool = true
Inherited Methods
Properties
public static EmailReaderOptions Default { get; } #Default bounded reader policy.
public long MaxInputBytes { get; } #Maximum artifact size accepted by the reader.
public int MaxHeaderBytes { get; } #Maximum bytes allowed in one MIME header section.
public int MaxHeaderCount { get; } #Maximum number of header fields in one entity.
public long MaxAttachmentBytes { get; } #Maximum decoded bytes for one attachment.
public long MaxTotalAttachmentBytes { get; } #Maximum aggregate decoded attachment bytes.
public int MaxNestedMessageDepth { get; } #Maximum embedded-message recursion depth.
public bool IncludeAttachmentContent { get; } #Whether decoded attachment content is retained.
public bool IncludeEmbeddedMessages { get; } #Whether embedded messages are parsed into nested documents. Attachment metadata remains available.
public bool PreserveRawSource { get; } #Whether original artifact bytes are retained for explicit lossless writing.
public int MaxCompoundDirectoryEntries { get; } #Maximum CFB directory entries accepted while reading MSG.
public int MaxMapiPropertyCount { get; } #Maximum aggregate MAPI properties across an artifact and embedded messages.
public long MaxDecodedPropertyBytes { get; } #Maximum aggregate decoded MSG/TNEF property bytes and MIME body/semantic-part bytes, checked before materialization.
public int MaxTnefAttributeCount { get; } #Maximum number of TNEF attributes.
public int MaxAttachmentCount { get; } #Maximum aggregate attachment count across the message and nested messages.