Table of Contents

Method From

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

From(AuthoredEmailRefusal)

Reports a draft that was not composed, in the terms the author can act on.

public static MailDraftRefusedException From(AuthoredEmailRefusal refusal)

Parameters

refusal AuthoredEmailRefusal

What the composition refused and where.

Returns

MailDraftRefusedException

The failure to raise.

Exceptions

ArgumentNullException

Thrown when refusal is null.

InvalidOperationException

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

From(RecipientResolutionRefusal)

Reports a recipient that resolved to nobody, naming what was counted and never who.

public static MailDraftRefusedException From(RecipientResolutionRefusal refusal)

Parameters

refusal RecipientResolutionRefusal

What the resolution refused.

Returns

MailDraftRefusedException

The failure to raise.

Exceptions

ArgumentNullException

Thrown when refusal is null.

InvalidOperationException

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

From(AuthoredResponseRefusal)

Reports an answer to a stored email that was not authored at all.

public static MailDraftRefusedException From(AuthoredResponseRefusal refusal)

Parameters

refusal AuthoredResponseRefusal

What the authoring refused.

Returns

MailDraftRefusedException

The failure to raise.

Exceptions

ArgumentNullException

Thrown when refusal is null.

InvalidOperationException

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