Skip to main content
OutSystems

How to send email to all users in a group role

Question

How can I send an email to all the users in a Group Role?

Answer

You must do the following:

  1. Get all the Users that you want to send the email to;
  2. Create a For Each to iterate that list of Users, and then concatenate the emails separated by comma, into a local variable;
  3. Use that local variable with all the emails on the To attribute of your email.

For example:

BuildRecipientsList.png

UseRecipientsListOnToProperty.png

  • Was this article helpful?