I have an automation that uses Outlook and a 3rd party system. Basically what I need to do is loop through all the mails in a specific folder and extract some of the mail data. This part is working fine with the “Get Outlook Mail Messages” activity and using System.Net.Mail.MailMessage.
However I then need to select the current mail item in Outlook and in the 3rd party system click import mail. This will import the selected mail into the system.
But how do I select the mail in Outlook?