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