How to send mails to multiple user using uipath

how to send mails to multiple user using uipath. Some of user are in cc

Try to fetch Email address from Excel sheet .

There are hundreds of user .

If possible , send to all user at once

Please help

Thanks

1 Like

@anil3
Just use read column activity and store output in dtemailcol (as ienumrable varibale)

Use below expression in your cc

String.join(dtemailcol,";")

2 Likes

Hi @anil3,

Try using this
String.Format("{0};{1}", abc@xyz,com, def@xyz.com)

Thanks,

hi ,

While using “String.join(dtemailcol,”;")" encounter an error - doesnot allow conversion of ienumrable into string .

thanks in advance

@anil3
Try this
String.join(dtemailcol.toarray,";")

1 Like