How to send emails to multiple email addresses

hi,

Sending email using send email node does not seem to be working here -
https://cloud.yellow.ai/bot/x1629181070824/studio/build/flows/sendemails

Thanks,
Jaya

Sending email is working.There was an issue on my side.

I am failing in sending emails to multiple addresses.I have tried separating the email addresses by , and ;

Please suggest.

Thank you

1 Like

Can you please share, in which journey you’re trying to send emails to multiple addresses?

Here you go -

https://cloud.yellow.ai/bot/x1629181070824/studio/build/flows/sendemails
in SendEmails Journey

1 Like

Got it, currently Send Email node sends only one email at a time.
Can you please share what is the use case though? I will share your requirement with our team.

oh okay.We are trying to send User(food requestor) details to all the food providers in the same area.

I should go ahead with a work around for this bot, right?.

Thanks,
Jaya

1 Like

Yup, you can look into Sendgrid Email Delivery API. They’ve a free tier which you can use for this project: https://sendgrid.com/pricing/

@Pratik , I have implemented sending emails as a loop around send email node.
I am seeing correct values in getting next addresses.
The first email gets sent, but its showing the following errors for next ones-
[6870634618700445304668375974_hxgNg3QvD4C_ef9QynK00][error] {

“message”: “Invalid template! Template should be a “string” but “undefined” was given as the first argument for mustache#render(template, view, partials)”,

“stack”: “TypeError: Invalid template! Template should be a “string” but “undefined” was given as the first argument for mustache#render(template, view, partials)\n at Object.render (/app/node_modules/mustache/mustache.js:598:13)\n at sendEmail (/app/components/builder/actions/sendEmail.js:37:44)\n at async executeNormalAction (/app/components/builder/nextStep.js:562:5)\n at async executeStepActionNode (/app/components/builder/nextStep.js:852:21)\n at async nextExecutableStepNewBuilder (/app/components/builder/nextStep.js:904:16)\n at async executeNewBuilder (/app/components/builder/nextStep.js:989:28)”

} : Sending Email Failed: Caught error

Not sure what template changed in first and the rest of emails.
basically my email send to is a variable, which I assign the next email address to be sent in the loop.