Most possibly, Mandrill is ignoring the BCC headers and hence this error.
To solve this,
To
field rather than the Bcc
field and set X-MC-PreserveRecipients
to false.Bcc
address in the To
field but declare their type
as bcc
. Add "preserve_recipients": true
under the message section. The code given below is an example of implementing this solution.1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
{ "to":[ { "email":"to1.email@example.com", "name":"To Recipient Name", "type":"to" }, { "email":"bcc1.email.@example.com", "name":"BCC1 Recipient Name", "type":"bcc" }, { "email":"bcc2.email@example.com", "name":"BCC2 Recipient Name", "type":"bcc" } ] }
Read more about X-MC-PreserveRecipients
here.
View all errors
Send up to 10,000 notifications every month, for free.
Get started for free
Send up to 10,000 notifications every month, for free.
Get started for free
© 2024 Courier. All rights reserved.