Constructor HeldSendDispatchHandler
- Namespace
- MailFathom.Application.Mail.Delivery.Scheduling
- Assembly
- MailFathom.Application.dll
HeldSendDispatchHandler(IOutgoingEmailStore, MailOutboxSignal)
Initializes the handler from the record it reads and the loop it wakes.
public HeldSendDispatchHandler(IOutgoingEmailStore outgoingEmails, MailOutboxSignal signal)
Parameters
outgoingEmailsIOutgoingEmailStoreAnswers whether the message is still waiting to be sent.
signalMailOutboxSignalTells the delivery loop that this account has something to send.
Exceptions
- ArgumentNullException
Thrown when a collaborator is null.