Table of Contents

Class StoredEmailAttachmentSummary

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

Reports what one stored email carries besides its body, as far as the persisted row records it.

public sealed record StoredEmailAttachmentSummary : IEquatable<StoredEmailAttachmentSummary>
Inheritance
StoredEmailAttachmentSummary
Implements
Inherited Members

Remarks

This is the indexable part of what MIME extraction found, and only that. The per-attachment list of file names, media types, and sizes is deliberately not persisted — file names are mail content — so a reader that needs it parses the stored raw MIME instead. A summary is therefore not a shortened EmailAttachmentSummary but the shape the row can answer from.

The counts are separate values because they answer different questions. A message whose only non-body parts are inline resources or a signature carries no attachments, so collapsing them into one number would make every signed message and every message with a logo in its signature block look like mail with a file attached.

Constructors

StoredEmailAttachmentSummary(int, long, int, bool, bool, bool)

Reports what one stored email carries besides its body, as far as the persisted row records it.

Properties

AttachmentCount

How many parts the classification counted as attachments.

CarriesUnverifiedSignature

Whether a signature part is present, verified by nothing.

ContainsUnexpandedTnefPart

Whether a TNEF winmail.dat part was recorded without being expanded.

HasAttachments

Gets whether the email has attachments, which an inline-only or signature-only message does not.

InlineResourceCount

How many parts are resources an HTML body embeds rather than files a person would open.

IsEncrypted

Whether the body arrived inside a cryptographic envelope and is therefore unreadable here.

None

Gets the summary of an email that carries nothing besides its body.

TotalSizeOctets

The decoded octets of those attachments together.