Class MailboxCopySource
- Namespace
- MailFathom.Application.Mail.Delivery.Filing
- Assembly
- MailFathom.Application.dll
Names the stored message a filed copy is appended from.
public sealed record MailboxCopySource : IEquatable<MailboxCopySource>
- Inheritance
-
MailboxCopySource
- Implements
- Inherited Members
Remarks
Both messages this system appends are raw MIME held behind IEmailContentStore, and they are keyed differently because they belong to different things: a send's payload belongs to the record of the send, a draft's to the draft its author is still editing. What reads them is one append, so which of the two it is travels as a value rather than as a second appender.
It is not a general handle on stored content. Nothing here reaches a synchronized message or a recurring send's draft, because neither is a copy MailFathom files into a folder of its own.
Methods
- FindContentAsync(IEmailContentStore, CancellationToken)
Reads the bytes this source names.
- MailDraft(MailDraftId)
Names the message the current revision of one draft is held as.
- OutgoingEmail(OutgoingEmailId)
Names the message one outgoing record will be, or already was, transmitted as.