Microsoft 365 email Problem

I’m using microsoft 365 scope for sending an email, i have 3 emails in the “To”
place but my bot sending mail to only one person?

Try to use “;” in between emails

Hi Revathi,
Could you validate below :

Email Address Format: Make sure each email address is correctly formatted.
Separator: Use semicolons ; to separate multiple email addresses.
No Extra Spaces: Ensure there are no extra spaces between email addresses and semicolons

Check if there is any whitespace in the email adress, then try this format; {“user1@uipath.com,"user2@uipath.com"}

@Valigatla_Revathi,

Office 365 Scope Send Email activity requires array of string. So if you are storing the recipient list separated by ; then split it like this strRecipientList.Split(";"c) and pass the array to To

@Valigatla_Revathi

are the email ids valid?

ideally if you are sending as single string then it might not go to one as well

cheers

email Ids are valid only, Im using the below Code , RequestorIds is a string which is having ; separated email address
RequestorIds.Split({“;”}, StringSplitOptions.RemoveEmptyEntries) _
.Select(Function(s) s.Trim()) _
.ToArray()

You can define the email addresses in an asset as follows:

Email_List = person1@companyname.com;person2@companyname.com;person3@companyname.com

To populate the “To” field, I am using the following code:

Config(“Email_List”).ToString().Split(";"c).Select(Function(email) email.Trim())