The /createEmailMessage API returns a 200 OK when it accepts a request. If a recipient unsubscribed, the system blocks the email during processing and records an EmailIsUnsubscribed status. To send necessary messages like password resets or order confirmations to these users, set the email_type parameter to transactional in your request.
{
"request": {
"notifications": [
{
"email_type": "transactional"
}
]
}
}
The transactional value ignores unsubscribe settings. Only use this for messages the user triggers or expects as part of a service. Sending marketing content with this setting violates anti-spam laws like CAN-SPAM and GDPR, which hurts your domain reputation and email delivery rates.
Comments
0 comments
Please sign in to leave a comment.