Method Answered
- Namespace
- MailFathom.Domain.Delivery
- Assembly
- MailFathom.Domain.dll
Answered(OutgoingRecipient, OutgoingRecipientStatus, int, DateTimeOffset)
States what one attempt settled about a recipient.
public static OutgoingRecipientOutcome Answered(OutgoingRecipient recipient, OutgoingRecipientStatus status, int replyCode, DateTimeOffset answeredAt)
Parameters
recipientOutgoingRecipientThe recipient the server answered about.
statusOutgoingRecipientStatusWhere the answer leaves them.
replyCodeintThe three-digit reply code the server answered with.
answeredAtDateTimeOffsetWhen the answer was recorded.
Returns
- OutgoingRecipientOutcome
The outcome to write down.
Exceptions
- ArgumentOutOfRangeException
Thrown when
statusis not a declared status, or whenreplyCodeis not a three-digit reply code.