Method FindRecurringSendDraftAsync
- Namespace
- MailFathom.Application.EmailContent.Storage
- Assembly
- MailFathom.Application.dll
FindRecurringSendDraftAsync(RecurringSendId, CancellationToken)
Reads back the draft stored for one recurring send.
Task<StoredEmailContent?> FindRecurringSendDraftAsync(RecurringSendId recurringSendId, CancellationToken cancellationToken)
Parameters
recurringSendIdRecurringSendIdThe declaration whose draft is read.
cancellationTokenCancellationTokenPropagates caller cancellation.
Returns
- Task<StoredEmailContent>
The stored draft, or null when the declaration has none.
Remarks
Absent content is a defect rather than an ordinary answer, as it is for an outgoing record: a declaration is written together with its draft, so one without a draft describes occasions that could never produce a message.