Reputation: 378
Is it possible to have an array of email addresses (string) to pass into the send email activity on uipath? I can't see a way on the activity, except using the cc but I have 10 email addresses for he same email
Upvotes: 0
Views: 4576
Reputation: 349
Create Variable ccMail like this
string ccMail="firstMail;secondMail;thirdMail;"
then pass this variable to CC in mail Activity
for Reference: https://www.c-sharpcorner.com/article/create-a-sequence-project-for-sending-a-mail-using-smtp-activity-by-taking-crede/
Upvotes: 1
Reputation: 206
You can have multiple to addresses separated by the ; character. The easiest way to do this is to use string.Join method and construct a string from the array.
https://msdn.microsoft.com/en-us/library/57a79xd0(v=vs.110).aspx
Upvotes: 1