Constructor EmailContentHeaders
- Namespace
- MailFathom.Application.EmailContent.Rendering
- Assembly
- MailFathom.Application.dll
EmailContentHeaders(string?, DateTimeOffset?, DateTimeOffset?, IReadOnlyList<EmailParticipant>, EmailThreadReferences)
Carries the normalized headers one email displays above its body.
public EmailContentHeaders(string? Subject, DateTimeOffset? SentAt, DateTimeOffset? ReceivedAt, IReadOnlyList<EmailParticipant> Participants, EmailThreadReferences ThreadReferences)
Parameters
SubjectstringThe decoded subject, or null when the message carried none.
SentAtDateTimeOffset?The
Dateheader in UTC, or null when the message carried none or wrote an unparseable one.ReceivedAtDateTimeOffset?When the last receiving hop recorded the message in UTC, or null when no
Receivedheader carried a usable date.ParticipantsIReadOnlyList<EmailParticipant>Every usable address the message wrote, each paired with the header it appeared in.
ThreadReferencesEmailThreadReferencesThe identifiers that place the message in a conversation.
Remarks
These are read from the stored raw MIME during the parse that produces the body, rather than from the columns the
mailbox listing is served out of. The row keeps only the comparison forms a filter needs, so display names, the
Bcc a message may carry for its own recipient, and the Sender header exist nowhere else — a reader
shown the listing's copy would be shown a narrower message than the one that arrived.
Every value here is mail content and personal data. Nothing in this record may be written to a log; only the counts and the fact that a header was absent are safe to report.