Table of Contents

Method SendingNotEnabled

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

SendingNotEnabled(OutgoingSendRefusalReason)

Reports a deployment that holds no capability to send as the account a message names.

public static OutgoingMailRefusedException SendingNotEnabled(OutgoingSendRefusalReason reason)

Parameters

reason OutgoingSendRefusalReason

What withholds the capability.

Returns

OutgoingMailRefusedException

The failure to raise.

Remarks

The account is not named. Which mailbox was asked for is the caller's own text and the refusal is the same for every account of a read-only deployment, so naming one would tell a caller which accounts have sending turned on.

Exceptions

ArgumentOutOfRangeException

Thrown when the reason is not one this system declares.