Variable string wont work in microsoft Office 365 Scope send mail

I cant get my send mail function to work, with at string as the “to”.

Is is a string with an e-mail in it, how do i get i to send?

Hi @eltmo eltmo
Welcome to Uipath Community

Make sure KundeEmail must be of data type string. As per error you defined variable with different data type.

KundeEmail is a string like this? :slight_smile:

Yes it correct only .Can you provide screenshot of variable “KundeEmail” value.

When opening advanced selector it shows To(String)

Hi,

Can you try {KundeEmail} because the property accepts string[] type.

Regards,

You need to pass string array in To field in case of Microsoft Office365 Send mail Activity so
1.Change data type to array of string for KundeEmail
2.Assign variable KundeEmail ={“mail@gmail.com”}

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