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
originOutgoingEmailOriginThe kind of authored act that asked.
identitystringThe stored identity.
Returns
- OutgoingEmailRequester
The requester those two name.
Exceptions
- ArgumentException
Thrown when
identityis blank, carries a control character, or is longer than MaximumIdentityLength.- ArgumentOutOfRangeException
Thrown when
originis not a declared origin.