How to send mail to multiple recipients without using for loop ?
Hi @Ritaman_Baral ,
If you have all the recipients in an array or a list or a DataTable. Construct a String with semilcolon as separator. For Eg: email@example.com;firstname.lastname@example.org.
While appending the mail addresses keep in mind that you should trim the email addresses and the last email doesn’t have a semicolon in it.
How you are getting the multiple recipients? do you have array of recipients then you can directly pass without using For Each loop
If you have it in list and dont want to use for loop, below is the expression might interest you
Let me know if the variable is in some other format
Actually in an excel i have a list of mail recipients. I have to send separate mail to each recipients without using for loop!!
If you need separate mails for each recipient then you need to have a For Each Row loop
Else if you need all recipients in one email then let me know