Live webinar What's new in Sodium: Information Requests, plus Q&A. Thu 19 Nov, 12 noon Information Requests + Q&A, Thu 19 Nov Reserve your place

CreateMailboxReplyDraftRequest

Request to create a reply to a mailbox message as a draft, extending the email service reply
contract with practice document attachments resolved server-side by code. Nothing is sent.

Properties

Name Type Description
plainTextBodystring

Plain text body (optional fallback)

Plain text body (optional fallback)

replyAllboolean

Whether to reply to all recipients (default: false = reply to sender only)

Whether to reply to all recipients (default: false = reply to sender only)

toRecipientsarray of EmailRecipientDto

Override To recipients. Null = use provider default (original sender for reply, all for reply-all).
Empty list = explicitly no To recipients.

Override To recipients. Null = use provider default (original sender for reply, all for reply-all).
Empty list = explicitly no To recipients.

ccRecipientsarray of EmailRecipientDto

Override CC recipients. Null = use provider default.
Empty list = explicitly no CC recipients (useful for removing CC on reply-all).

Override CC recipients. Null = use provider default.
Empty list = explicitly no CC recipients (useful for removing CC on reply-all).

bccRecipientsarray of EmailRecipientDto

BCC recipients. Null or empty = no BCC (providers never auto-populate BCC).

BCC recipients. Null or empty = no BCC (providers never auto-populate BCC).

attachmentsarray of EmailAttachmentDto

Attachments to include in the reply. Null or empty = no attachments.

Attachments to include in the reply. Null or empty = no attachments.

quoteOriginalboolean

Whether a sent reply carries the email it answers below the caller's text ("On ... wrote:" and
the original, quoted), as Outlook and Gmail do. Off by default: the reply is the caller's text
alone. A reply draft is never quoted.

Whether a sent reply carries the email it answers below the caller's text ("On ... wrote:" and
the original, quoted), as Outlook and Gmail do. Off by default: the reply is the caller's text
alone. A reply draft is never quoted.

htmlBody*string

HTML body of the reply. Redeclared from the email service contract so it is cleaned as the request is read.

HTML body of the reply. Redeclared from the email service contract so it is cleaned as the request is read.

practiceDocumentCodesarray of string

Codes of practice documents (tenant document library) to attach. Resolved to file
content server-side, so the browser never round-trips the document bytes.

Codes of practice documents (tenant document library) to attach. Resolved to file
content server-side, so the browser never round-trips the document bytes.

JSON Example

{
  "plainTextBody": "string",
  "replyAll": false,
  "toRecipients": [
    {
      "email": "...",
      "name": "..."
    }
  ],
  "ccRecipients": [
    {
      "email": "...",
      "name": "..."
    }
  ],
  "bccRecipients": [
    {
      "email": "...",
      "name": "..."
    }
  ],
  "htmlBody": "string"
}

Used By Operations