ReplyMailboxEmailRequest
Request to reply to a mailbox message, extending the email service reply contract
with practice document attachments resolved server-side by code.
Properties
| Name | Type | Description |
|---|---|---|
| htmlBody* | string | HTML body of the reply |
HTML body of the reply | ||
| plainTextBody | string | Plain text body (optional fallback) |
Plain text body (optional fallback) | ||
| replyAll | boolean | Whether to reply to all recipients (default: false = reply to sender only) |
Whether to reply to all recipients (default: false = reply to sender only) | ||
| toRecipients | array of EmailRecipientDto | Override To recipients. Null = use provider default (original sender for reply, all for reply-all). |
Override To recipients. Null = use provider default (original sender for reply, all for reply-all). | ||
| ccRecipients | array of EmailRecipientDto | Override CC recipients. Null = use provider default. |
Override CC recipients. Null = use provider default. | ||
| bccRecipients | array 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). | ||
| attachments | array of EmailAttachmentDto | Attachments to include in the reply. Null or empty = no attachments. |
Attachments to include in the reply. Null or empty = no attachments. | ||
| practiceDocumentCodes | array of string | Codes of practice documents (tenant document library) to attach. Resolved to file |
Codes of practice documents (tenant document library) to attach. Resolved to file | ||
| scheduledAt | string | When set, the reply is not sent now: a scheduled send is created and dispatched at this |
When set, the reply is not sent now: a scheduled send is created and dispatched at this | ||
JSON Example
{
"htmlBody": "string",
"plainTextBody": "string",
"replyAll": false,
"toRecipients": [
{
"email": "...",
"name": "..."
}
],
"ccRecipients": [
{
"email": "...",
"name": "..."
}
]
}