Table of Contents

Method Create

Namespace
MailFathom.Domain.Delivery
Assembly
MailFathom.Domain.dll

Create(OutgoingEmailOrigin, string)

Restores a requester from the origin and identity a record holds.

public static OutgoingEmailRequester Create(OutgoingEmailOrigin origin, string identity)

Parameters

origin OutgoingEmailOrigin

The kind of authored act that asked.

identity string

The stored identity.

Returns

OutgoingEmailRequester

The requester those two name.

Exceptions

ArgumentException

Thrown when identity is blank, carries a control character, or is longer than MaximumIdentityLength.

ArgumentOutOfRangeException

Thrown when origin is not a declared origin.