Method Written
- Namespace
- MailFathom.Application.Emails.ReplyDrafts
- Assembly
- MailFathom.Application.dll
Written(string, IReadOnlyList<ReplyDraftClaim>, IReadOnlyList<EmailAddress>)
Records one drafted reply.
public static ReplyDraft Written(string body, IReadOnlyList<ReplyDraftClaim> claims, IReadOnlyList<EmailAddress> proposedRecipients)
Parameters
bodystringThe drafted text.
claimsIReadOnlyList<ReplyDraftClaim>What it asserts, with what backs each.
proposedRecipientsIReadOnlyList<EmailAddress>The people it proposes to reach.
Returns
- ReplyDraft
The draft, with the body shortened to its bound and the two lists to theirs.
Exceptions
- ArgumentNullException
Thrown when an argument is null.
- ArgumentException
Thrown when the body is blank, a drafted reply being text somebody can edit rather than an absence dressed as one.