Multiple email recipients

Hello,
My node -red code is sending emails properly, but we would like to add a more than one email address for it to send to. What is the recommend way of doing this? Thanks!

I havent tested it but you can try seperating the email addresses with comma , or ;

user1@test.com,user2@test.com

another possibility could be to set using the msg.to property to a csv string emails

I'm pretty certain that you can just separate them by commas - I have a few email nodes set up that way and they seem to work OK.

1 Like

Thank you. The commas work. I had tried semicolons, but hadn't thought of using commas. They work in both the email node or by sending it in the msg.to object. Thanks for your help!

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.