Method Create
- Namespace
- MailFathom.Domain.Delivery.Scheduling
- Assembly
- MailFathom.Domain.dll
Create(MailAccountId, OutgoingEmailRequester, IReadOnlyList<OutgoingRecipient>, string)
Asks for one message to be sent again on every occasion a schedule names.
public static RecurringSendRequest Create(MailAccountId accountId, OutgoingEmailRequester requester, IReadOnlyList<OutgoingRecipient> recipients, string schedule)
Parameters
accountIdMailAccountIdThe account every occurrence is sent as.
requesterOutgoingEmailRequesterThe authored act asking.
recipientsIReadOnlyList<OutgoingRecipient>The people every occurrence is offered to.
schedulestringThe repetition as it was written.
Returns
- RecurringSendRequest
The declaration to write down.
Exceptions
- ArgumentNullException
Thrown when
requesterorrecipientsis null.- ArgumentException
Thrown when
recipientsis empty, holds more than MaximumRecipientCount entries, or names one mailbox more than once, or whenscheduleis blank, carries a control character, or is longer than MaximumScheduleLength.