Is their any way to send email via the Mandrill API which contain multiple BCC address?
Mandrill API documentation displays only a single bcc_address
in their API. So is it not possible send email which contain multiple BCC addresses?
Yup totally doable! According to the Mandrill API send
documentation, you can specify multiple addresses in the to
field, and mark them as type
bcc
.
Here's an example:
{
"to":[
{
"email":"recipient.email@example.com",
"name":"Recipient Name",
"type":"to"
},
{
"email":"bcc.recipient.email.1@example.com",
"name":"BCC Recipient Name 1",
"type":"bcc"
},
{
"email":"bcc.recipient.email.2@example.com",
"name":"BCC Recipient Name 2",
"type":"bcc"
}
]
}
Hope this helps.
Also make sure you're passing the value "preserve_recipients": true
under the message section.