Hi! I’m trying to send emails to a contact list (a dynamic list) using any API method. Single-send looks like it only accepts one email address. SMTP could be, but I need to specify each email address, right? Or there is a way to indicate the contact list’s name as the destination?
Hi @Jayasri
Thank you for reaching out.
I want to tag some of our experts here - @Mike_Eastwood @crispyGTM @HubDoPete do you have any suggestions for @Jayasri on this?
Thank you!
Best
Tiphaine
Hi @Jayasri and thanks @TitiCuisset for the tag
The send email APIs handle transactional emails so not really suited to your purpose of sending to all in a list, unless you first use the API to pull the members of the list then use single send to each one.
Or, take a step back and solve this using a combination of dynamic lists and workflows.
Set a second dynamic list, and enrolment rule based on membership of the first list plus whatever you can relate to the API trigger condition.
Then let a contact-based workflow take care of the sending, based on membership in the second list.
hope that helps!
best
Pete