Forwards a specific mailbox message to new recipients via the email provider. The configuration must have SendEnabled set to true, and the caller must be able to read the message (403 otherwise). At least one To recipient is required. The email service appends the forwarded message (its header and body) after HtmlBody. Subject defaults to "Fwd: " and the original's subject. KeepAttachmentIds picks which original attachments to carry: null carries every non-inline one, an empty list none. New attachments go in the Attachments array, practice documents in PracticeDocumentCodes. Set ScheduledAt to schedule the forward instead (202). If the response includes ReconnectRequired=true, the OAuth connection needs to be re-authorised.
Requires: Create on Mailbox.
Parameters
| Name | Type | Description |
|---|---|---|
| tenant* | path string | The Tenant.Code |
The Tenant.Code |
||
| code* | path string | |
| messageId* | path string (uuid) | |
Request Body*
{
"toRecipients": [
{
"email": "...",
"name": "..."
}
],
"ccRecipients": [
{
"email": "...",
"name": "..."
}
],
"bccRecipients": [
{
"email": "...",
"name": "..."
}
],
"subject": "string",
"keepAttachmentIds": [
"string"
],
"htmlBody": "string"
}