Table of Contents

Constructor DraftBlock

Namespace
MailFathom.Application.Discovery.Presentation.Blocks
Assembly
MailFathom.Application.dll

DraftBlock(PresentationEvidence, IReadOnlyList<EmailAddress>, PresentationText, PresentationText, DraftDisposition)

Initializes text to be sent.

public DraftBlock(PresentationEvidence evidence, IReadOnlyList<EmailAddress> recipients, PresentationText subject, PresentationText body, DraftDisposition disposition)

Parameters

evidence PresentationEvidence

What the correspondence does for the draft.

recipients IReadOnlyList<EmailAddress>

Who it is addressed to.

subject PresentationText

Its subject.

body PresentationText

Its body, as plain text.

disposition DraftDisposition

What has become of it locally.

Exceptions

ArgumentNullException

Thrown when evidence or recipients is null.

ArgumentException

Thrown when no recipient is named, there are more than MaxRecipients of them, a recipient is named twice, or a text is the unspecified default.