Table of Contents

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

recipient OutgoingRecipient

The recipient the server answered about.

status OutgoingRecipientStatus

Where the answer leaves them.

replyCode int

The three-digit reply code the server answered with.

answeredAt DateTimeOffset

When the answer was recorded.

Returns

OutgoingRecipientOutcome

The outcome to write down.

Exceptions

ArgumentOutOfRangeException

Thrown when status is not a declared status, or when replyCode is not a three-digit reply code.