How to send more than one mail with Mail Task

cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Active Member

How to send more than one mail with Mail Task

Jump to solution

As you can guess from the title I wanted to know how to send more mail with a single mail Task (at different addresses, the same mail to more people)

1 Solution

Accepted Solutions
Highlighted
Senior Member

Re: How to send more than one mail with Mail Task

Jump to solution

Did you try to split by commas ',' check out the docs 

Activiti User Guide 

View solution in original post

2 Replies
Highlighted
Senior Member

Re: How to send more than one mail with Mail Task

Jump to solution

Did you try to split by commas ',' check out the docs 

Activiti User Guide 

View solution in original post

Highlighted
Established Member

Re: How to send more than one mail with Mail Task

Jump to solution

Hi Matteo Zanardo,

As Bassam Al-Sarori‌ explained,

<activiti:field name="to" expression="${recipient}" />

you need to change the to field for multiple users and pass the values accordingly.


Activiti User Guide 

You can also send emails manually using script tasks by javascript api
execute | Alfresco Documentation 


There is one parameter 

mail.parameters.to = "*****@****.com";   
or
mail.parameters.to_many = ['****@****.com','****@****.com'];   

if you wants to send emails in multiple then pass the values in array

Thanks,

Vikash