Table of Contents

Method ContentRefused

Namespace
MailFathom.Application.Mail.Delivery.Drafts
Assembly
MailFathom.Application.dll

ContentRefused(SensitiveContentEgressRefusal)

Reports a draft this deployment will not put on a mail server, because of what the message carries.

public static MailDraftRefusedException ContentRefused(SensitiveContentEgressRefusal refusal)

Parameters

refusal SensitiveContentEgressRefusal

What the screen stopped it with.

Returns

MailDraftRefusedException

The failure to raise.

Remarks

The two sentences are this act's own rather than the submission's, for the reason every refusal here is: a caller told its message was not queued when it asked to save a draft would go looking for a send that never happened. The code is shared with the submission, because the remedy is the same one.

Exceptions

ArgumentNullException

Thrown when refusal is null.

ArgumentOutOfRangeException

Thrown when the refusal names a reason this system does not declare.