Workflow: email multiple users in the same message?
var output = "this is a test message" var usr = project.getUser("myusername"); usr.notify("test", output); var usr = project.getUser("coworkersusername"); usr.notify("test", output);
This works fine. However, I would like everyone to get the same message so they can reply-to-all to start a conversation. I found the "sendMail" method in the documentation, but the following don't do anything:
sendMail("me@mycompany.com;coworker@mycompany.com", "test", output);
sendMail("me@mycompany.com,coworker@mycompany.com", "test", output);
But this does work:
sendMail("me@mycompany.com", "test", output);
Is it possible to include multiple recipients?
Please sign in to leave a comment.
you can execute the 'sendMail()' method several times for different recipients, can't you?