Table of Contents

Method Refused

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

Refused(AuthoredEmailRefusal)

Reports that nothing was composed, and why.

public static AuthoredEmailComposition Refused(AuthoredEmailRefusal refusal)

Parameters

refusal AuthoredEmailRefusal

What was wrong and where.

Returns

AuthoredEmailComposition

A refused result.

Exceptions

ArgumentNullException

Thrown when refusal is null.

Refused(AuthoredEmailRefusalReason, AuthoredEmailField, long?)

Reports that nothing was composed, from the parts a refusal is made of.

public static AuthoredEmailComposition Refused(AuthoredEmailRefusalReason reason, AuthoredEmailField field, long? bound = null)

Parameters

reason AuthoredEmailRefusalReason

What was wrong.

field AuthoredEmailField

The part of the authored message it was wrong in.

bound long?

The number that was exceeded, when the reason is a bound.

Returns

AuthoredEmailComposition

A refused result.