Method HeldUntil
- Namespace
- MailFathom.Domain.Delivery
- Assembly
- MailFathom.Domain.dll
HeldUntil(ZonedInstant)
States the same send, held until the time the author named.
public OutgoingEmailRequest HeldUntil(ZonedInstant dueAt)
Parameters
dueAtZonedInstantThe time the message is to leave at.
Returns
- OutgoingEmailRequest
The request, due at that time.
Remarks
It exists so that composing a message and deciding when it leaves stay two separate acts. Nothing about a due time reaches the MIME — a held message is byte-for-byte the message it would have been sent as at once — so the composer never sees one, and the boundary that took the author's time says so here instead.
Exceptions
- ArgumentNullException
Thrown when
dueAtis null.