Class RecurringSendRequest
- Namespace
- MailFathom.Domain.Delivery.Scheduling
- Assembly
- MailFathom.Domain.dll
States one message somebody asked to have sent again on every occasion a schedule names.
public sealed record RecurringSendRequest : IEquatable<RecurringSendRequest>
- Inheritance
-
RecurringSendRequest
- Implements
- Inherited Members
Remarks
It is the outgoing request's shape with a schedule in place of a due time, and deliberately so: what repeats is an ordinary send, and everything that decides whether one may be written down — the account, the people it is offered to, and the act asking — decides it here identically. What is different is that this describes many messages, which is why the recipients are validated once here rather than once per occasion.
The schedule arrives as the text an operator or a caller wrote. Whether it names occasions this system can run is established before the declaration is durable, by the mechanism that owns the syntax, so nothing here parses it and nothing stored states a repetition nobody can resolve.
Properties
- AccountId
Gets the account every occurrence is submitted through and sent as.
- Recipients
Gets the people every occurrence is offered to, each named once.
- Requester
Gets the authored act asking, which is what makes the same declaration twice one declaration.
- Schedule
Gets the repetition as it was written.
Methods
- Create(MailAccountId, OutgoingEmailRequester, IReadOnlyList<OutgoingRecipient>, string)
Asks for one message to be sent again on every occasion a schedule names.