Table of Contents

Method Create

Namespace
MailFathom.Application.Emails.Summaries
Assembly
MailFathom.Application.dll

Create(IEnumerable<ExtractedEmailAttachment>, int, bool, bool, bool)

Builds the summary of one classified message.

public static EmailAttachmentSummary Create(IEnumerable<ExtractedEmailAttachment> attachments, int inlineResourceCount, bool isEncrypted, bool carriesUnverifiedSignature, bool containsUnexpandedTnefPart)

Parameters

attachments IEnumerable<ExtractedEmailAttachment>

The parts classified as attachments.

inlineResourceCount int

How many parts an HTML body embeds.

isEncrypted bool

Whether the body arrived inside a cryptographic envelope.

carriesUnverifiedSignature bool

Whether a signature part is present, verified by nothing.

containsUnexpandedTnefPart bool

Whether a TNEF part was recorded without being expanded.

Returns

EmailAttachmentSummary

The summary.

Exceptions

ArgumentNullException

Thrown when attachments is null.