Prepare string of email address

I have one datatable with column “Email”. I want to send only one email to all the email address present in “Email” Column. Please help me in composing the string of all the email addresses.


You have to separate all the email address with semi colon so that we can send one email to all the email address available in that column of the data table.


Hi @harshit.gupta

Please try this,

Read the data from excel using read range activity and store it in the datatable , variable name - dt

string.join(";", d("Email").tostring).toarray.distinct().toarray())


its also depending on the used send mail activity. some types do need the ; on end, others not …


1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.