Send Gmail to multiple recipients

Grrrr. This should be easy but I can’t get it to work.

I have list of emails in excel. I loop through them and create a string, each separated by a semi-colon, (except the last one). Then I put that string in the To property of Send Email (Gmail) activity. I get the follow error:

An error occured in the activity. ---> UiPath.GSuite.Exceptions.GSuiteInternalException: An invalid character was found in the mail header: ';'

I want to send the email to multiple recipients from a variable. How to do this?

Hi @Terry_Marr

Hi @Terry_Marr

Can you share the screenshot how the emails are present in the excel and how are entering it in Send Email activity.

Regards

I think I figured it out. It’s best to create a List(of String) variable and during the loop, append the email to the variable. Then, just put that variable in the To property.

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