Forum Discussion
hkim5
Staff
you will need to make an array of the recipients list, and loop over that list sending the emails to each recipient one by one using the same function.
mustafayol
4 years agoContributor
Hi Justin,
Thanks for the reply. In fact, that's what I already do. But according to documentation, sending to multiple emails by separating commas or semi-columns should also be possible.
let receipents = ["user1@gmail.com", "user2@gmail.com", "user3@gmail.com"];
receipents.forEach(
function sendMultiple(item) {SendMail(item, "smtp.companyhost.com", "FromSenderTester", "senderEmail@company.com", "Subject test email", "Body Test email")};
);
Best regards
Mustafa
Related Content
Recent Discussions
- 24 minutes ago
- 20 hours ago