UiPath.MicrosoftOffice365.Activities.Mail.SendMail - Set Variable to To with multiple email addresses

Hello Everyone,

First post here! We have recently migrated to Modern Authentication and while everyone has gone according to plan I am unable to figure out how to assign a Variable to the UiPath.MicrosoftOffice365.Activities.Mail.SendMail > Recipients > To field. I am able to enter one email using {“email@1234.com”} but cannot figure out how to expand to multiple email addresses.

Any help would be very much appreciated and thank you in advance

Hi @Helpme_Automate

You can just add the other email addresses by separated with comma like

{“email1”,”email2”}

Regards
Sudharsan

@Helpme_Automate

To use the variable there use String of Array datatype variable

Regards
Sudharsan

1 Like

Hello @Sudharsan_Ka

Thank you for the suggestions. Everything is working as expected.

Cheers,

Great @Helpme_Automate

If your query resolved kindly close the topic by marking the solution so that it will be helpful to others.

Regards
Sudharsan

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