Class EmailThreadReferences
- Namespace
- MailFathom.Domain.Emails
- Assembly
- MailFathom.Domain.dll
Holds the message identifiers that place one email in a conversation.
public sealed record EmailThreadReferences : IEquatable<EmailThreadReferences>
- Inheritance
-
EmailThreadReferences
- Implements
- Inherited Members
Remarks
The three headers are kept apart because they answer different questions: MessageId is this message's own identity, InReplyTo is the single message it answers, and References is the path back to the root. Threading needs all three, and a client that writes only some of them is ordinary.
Fields
- MaximumIdentifierLength
The greatest number of characters one identifier may carry.
- MaximumReferences
The greatest number of ancestors a parse keeps from one
Referencesheader.
Properties
- MessageId
Gets the message's own identifier without its angle brackets, or null when it carried none.
- None
Gets the references of a message that carried no threading headers at all.
- References
Gets the referenced ancestors in the order the header listed them, without duplicates.
Methods
- Create(string?, string?, IEnumerable<string>?)
Builds the reference set from what the message's threading headers carried.