Has anyone been able to successfully add Yes/No voting buttons in the Send Outlook Mail Message activity. If so could you share the steps please.
Also seeking an answer to this
I was also searching for this and just got it to work and I want to add this for future references:
First I added the package “Microsoft.Office.Interop.Outlook” in the package manager.
After that I used the Activity “Invoke code” with the following code:
Microsoft.Office.Interop.Outlook.Application outlookApp = new Microsoft.Office.Interop.Outlook.ApplicationClass();
mailItem = (Microsoft.Office.Interop.Outlook.MailItem)outlookApp.CreateItem(Microsoft.Office.Interop.Outlook.OlItemType.olMailItem);
mailItem.Subject = “This is the subject”;
mailItem.To = “firstname.lastname@example.org”;
mailItem.Body = “This is the message”;
mailItem.VotingOptions = “Test1;Test2”;
Hope this helps anyone searching for this topic in the future!
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.