APIs & Integrations

ncivan
Member

Best practice to send transactional email to multiple emails

I want to send an email to all users who subscribed to a thread to let those users know there’s new content. Can I (or should I) use the transactional email API? I’ve tried setting the message.to property to "email1@domain.com,email2@domain.com" and "email1@domain.com;email2@domain.com" to no avail.

"message": {
        "to": "email1@domain.com,email2@domain.com"
    },

When I do this, the first email always receives it, but any after the first don’t

My last option is to use the single-send multiple times, but I feel this is a waste of API requests and slower than sending the single call.

0 Upvotes
2 Replies 2
crispy1260
Participant

Best practice to send transactional email to multiple emails

Thanks for posting the answer. I ran into a similar issue. Our systems are based on a job that imports an XML file into our CMS that pulls order updates from our OMS every half hour. This creates one API call with one request today which is a problem for order update emails. We're going to try to break those XML files into individual orders. The queued response in the API made me think that sending over a larger JSON file would allow multiple sends with one call.

0 Upvotes
ncivan
Member

Best practice to send transactional email to multiple emails

I didn’t receive a response in this thread, so we had to speak with our rep and this is the answer we got:

For the transactional email question, the short answer is that we do not have a way to batch transactional emails. Transactional email is designed around sending targeted emails to specific contacts based on some action happening, not sending email blasts to groups, so he’ll need to make a separate API call for each email and recipient.

In case someone is looking for the answer.