Hi Philipp,
the email module can handle emails with many receivers in CC/TO/BCC.
I recall, somewhere there is a @constant setting the delimiter/separator between email-addresses (preset “;”).
BR, Boris
Hello,
you can separate between them using comma ‘,’
Idk if it will help you or not but you can do the below:
- create variable ‘Recipients’
- get a list of all cst emails who you want to send them the email
- get the head of the list ‘HeadRecipient’ and change the var ‘Recipients’ to the ‘HeadRecipient’
- get the tail of the list of the list and check if empty then send the email if not make a loop on the tail and inside the loop change the var ‘Recipients’ to ($Recipients+','+$IteratorRecipient/Email)
you can set the sent ‘To’ Value to your ‘recipient’ string which contains all of strings emails separated by ‘,’.
You can solve it to create a string with all email addresses separated by a semi-column ;
if
$StringVariable = ''
then
$IteratorColegue/EmailAddress
else
'; ' + $IteratorColegue/EmailAddress
Thank you for your feedback. As it seems to be impossible to embed a screenshot in a direct response, I will use the “Your answer” to respond.
I just don’t know, what to do with that string variable then (see screenshot).
I created it in the loop that reduces the list of all colleagues (buyers in my app) to only the relevant / responsible ones.
Further down that Microflow I call the CreateAndSendEmail Microflow.
Now that I have this string variable, how can I hand it over to the (sub-)Microflow (or am I thinking in the wrong direction here)??