MailerResendEmail¶
POST mailer/email/resend
Creates a new email as a copy of an existing one. The original is left untouched, so its attempts and provider responses stay readable.
Duplicate protection does not apply: a resend is a deliberate operator action, and the point is to send the same message again.
Access Control¶
Allowed roles: admin, leader, manager.
Request¶
POST https://{broker_domain}/mailer/email/resend
{
"emailId": 812
}
{
"command": "MailerResendEmail",
"extID": "1",
"data": {
"emailId": 812
}
}
const res = await platform.MailerResendEmail({
emailId: 812
});
Request Data¶
| Field | Type | Required | Description |
|---|---|---|---|
emailId |
int | Yes | Email to copy |
Response Data¶
{
"emailId": 816,
"resentFrom": 812
}
Errors¶
| Code | Error | Description |
|---|---|---|
403 |
PERMISSION_DENIED |
The email belongs to another manager |
403 |
EMAIL_SUPPRESSED |
The address has been suppressed since the original email |
404 |
EMAIL_NOT_FOUND |
Email not found in the brand |
409 |
NO_ROUTE_AVAILABLE |
No profile can send to this recipient any more |