How can i get only emailaddress from all outlook mails and add it to the list?

"RPA RPARobot1"myrobot@xyz.com
"RPA RPARobot2"myrobot@abc.com
I only want the mailaddress?

1 Like

Hi

Have a view on this thread with a similar scenario for an idea

Cheers @aparna30

Hi,

If you want to get list of mailaddress from result of GetOutlookMailMessages activity, the following might help you.

listAddress = mails.Select(Function(m) m.From.Address).ToList

Regards,

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