Class CitedMessage
- Namespace
- MailFathom.Application.Discovery.Citations
- Assembly
- MailFathom.Application.dll
The message one resolved citation belongs to, as much of it as showing the citation in place needs.
public sealed record CitedMessage : IEquatable<CitedMessage>
- Inheritance
-
CitedMessage
- Implements
- Inherited Members
Remarks
It travels with every resolution the caller may read, including one whose place inside the message is gone, so a citation can be drawn where it stands rather than as a link somebody has to follow to find out what it names. That is the one way this differs from MailAnswerCitation, which deliberately carries no extract: there the passage had already reached a provider and republishing it would have widened nothing but the response, while here the whole request is somebody checking a fact against the words behind it.
The subject is mail content and the two dates are personal data, so none of this reaches a log, a span attribute, or a telemetry event.
Constructors
- CitedMessage(StoredEmailId, MailAccountId, MailFolderAlias, string?, DateTimeOffset?, DateTimeOffset?)
The message one resolved citation belongs to, as much of it as showing the citation in place needs.
Properties
- AccountId
The account whose mailbox it was read from.
- FolderAlias
MailFathom's own name for the folder it was read from.
- ReceivedAt
When the last receiving hop recorded it, or null when no header carried a usable date.
- StoredEmailId
The stable local identity, which is the same one every other read names an email by.