CreateMailboxDraftRequest
Request to create a mailbox draft, extending the email service contract with practice
document attachments resolved server-side by code (same pattern as sending a new email).
Properties
| Name | Type | Description |
|---|---|---|
| subject | string | Subject line |
Subject line | ||
| htmlBody* | string | HTML body of the draft |
HTML body of the draft | ||
| plainTextBody | string | Plain text body (optional fallback) |
Plain text body (optional fallback) | ||
| toRecipients | array of EmailRecipientDto | To recipients |
To recipients | ||
| ccRecipients | array of EmailRecipientDto | CC recipients |
CC recipients | ||
| bccRecipients | array of EmailRecipientDto | BCC recipients |
BCC recipients | ||
| attachments | array of EmailAttachmentDto | Attachments to include. Null or empty = no attachments. |
Attachments to include. 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 | ||
JSON Example
{
"subject": "string",
"htmlBody": "string",
"plainTextBody": "string",
"toRecipients": [
{
"email": "...",
"name": "..."
}
],
"ccRecipients": [
{
"email": "...",
"name": "..."
}
]
}