Table of Contents

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

accountId MailAccountId

The account every occurrence is sent as.

requester OutgoingEmailRequester

The authored act asking.

recipients IReadOnlyList<OutgoingRecipient>

The people every occurrence is offered to.

schedule string

The repetition as it was written.

Returns

RecurringSendRequest

The declaration to write down.

Exceptions

ArgumentNullException

Thrown when requester or recipients is null.

ArgumentException

Thrown when recipients is empty, holds more than MaximumRecipientCount entries, or names one mailbox more than once, or when schedule is blank, carries a control character, or is longer than MaximumScheduleLength.