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
attachmentsIEnumerable<ExtractedEmailAttachment>The parts classified as attachments.
inlineResourceCountintHow many parts an HTML body embeds.
isEncryptedboolWhether the body arrived inside a cryptographic envelope.
carriesUnverifiedSignatureboolWhether a signature part is present, verified by nothing.
containsUnexpandedTnefPartboolWhether a TNEF part was recorded without being expanded.
Returns
- EmailAttachmentSummary
The summary.
Exceptions
- ArgumentNullException
Thrown when
attachmentsis null.