Forum Discussion
hkim5
4 years agoStaff
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.
- mustafayol4 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
- 9 years ago
Recent Discussions
- 2 days ago
- 2 days ago
- 5 days ago