API Reference
EmailReaderOptions
Immutable resource and preservation policy for EmailDocumentReader.
Inheritance
- Object
- EmailReaderOptions
Usage
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by
- Property EmailDataOpenOptions.Email
- Property EmailDocumentReader.Options
- Property EmailMailboxReaderOptions.MessageOptions
- Property EmailReaderOptions.Default
Accepted by parameters
- Constructor EmailDataOpenOptions.EmailDataOpenOptions
- Method EmailDocument.Load
- Method EmailDocument.Load
- Method EmailDocument.Load
- Method EmailDocument.LoadAsync
- Method EmailDocument.LoadAsync
- Constructor EmailDocumentReader.EmailDocumentReader
- Method EmailDocumentReader.DetectFormat
- Constructor EmailMailboxReaderOptions.EmailMailboxReaderOptions
- Constructor EmailMailboxReaderOptions.EmailMailboxReaderOptions
- Method EmailMapiProjection.Project
- Method EmailSmime.Decrypt
- Method EmailSmime.Verify
Constructors
public EmailReaderOptions(Int64 maxInputBytes = 268435456, Int32 maxHeaderBytes = 1048576, Int32 maxHeaderCount = 10000, Int32 maxPartCount = 10000, Int32 maxMimeDepth = 64, Int64 maxAttachmentBytes = 134217728, Int64 maxTotalAttachmentBytes = 536870912, Int32 maxNestedMessageDepth = 16, Boolean includeAttachmentContent = true, Boolean preserveRawSource = false, Int32 maxCompoundDirectoryEntries = 65536, Int32 maxMapiPropertyCount = 100000, Int64 maxDecodedPropertyBytes = 536870912, Int32 maxTnefAttributeCount = 100000) #Creates reader options.
Parameters
- maxInputBytes System.Int64 = 268435456
- maxHeaderBytes System.Int32 = 1048576
- maxHeaderCount System.Int32 = 10000
- maxPartCount System.Int32 = 10000
- maxMimeDepth System.Int32 = 64
- maxAttachmentBytes System.Int64 = 134217728
- maxTotalAttachmentBytes System.Int64 = 536870912
- maxNestedMessageDepth System.Int32 = 16
- includeAttachmentContent System.Boolean = true
- preserveRawSource System.Boolean = false
- maxCompoundDirectoryEntries System.Int32 = 65536
- maxMapiPropertyCount System.Int32 = 100000
- maxDecodedPropertyBytes System.Int64 = 536870912
- maxTnefAttributeCount System.Int32 = 100000
Inherited Methods
public override Boolean Equals(Object obj) #BooleanParameters
- obj Object
Properties
public static EmailReaderOptions Default { get; } #Default bounded reader policy.
public Int64 MaxInputBytes { get; } #Maximum artifact size accepted by the reader.
public Int32 MaxHeaderBytes { get; } #Maximum bytes allowed in one MIME header section.
public Int32 MaxHeaderCount { get; } #Maximum number of header fields in one entity.
public Int32 MaxPartCount { get; } #Maximum MIME entity count.
public Int32 MaxMimeDepth { get; } #Maximum nested MIME depth.
public Int64 MaxAttachmentBytes { get; } #Maximum decoded bytes for one attachment.
public Int64 MaxTotalAttachmentBytes { get; } #Maximum aggregate decoded attachment bytes.
public Int32 MaxNestedMessageDepth { get; } #Maximum embedded-message recursion depth.
public Boolean IncludeAttachmentContent { get; } #Whether decoded attachment content is retained.
public Boolean PreserveRawSource { get; } #Whether original artifact bytes are retained for explicit lossless writing.
public Int32 MaxCompoundDirectoryEntries { get; } #Maximum CFB directory entries accepted while reading MSG.
public Int32 MaxMapiPropertyCount { get; } #Maximum aggregate MAPI properties across an artifact and embedded messages.
public Int64 MaxDecodedPropertyBytes { get; } #Maximum aggregate bytes represented by decoded MSG property streams.
public Int32 MaxTnefAttributeCount { get; } #Maximum number of TNEF attributes.