Is there a way to have UiPath send an email with Outlook voting buttons?
hey
go check here
regards!
This does not work for my scenario as you can still edit the body after selecting yes or no. I need something that functions like the Outlook voting buttons if possible.
You can use Invoke Code activities. You shoul write the text below to edite code.
Dim _app As Microsoft.Office.Interop.Outlook._Application=Nothing
Dim mail As Microsoft.Office.Interop.Outlook.MailItem=Nothing
_app=New Microsoft.Office.Interop.Outlook.ApplicationClass()
mail=CType(_app.CreateItem(Microsoft.Office.Interop.Outlook.OlItemType.olMailItem),Microsoft.Office.Interop.Outlook.MailItem)
mail.VotingOptions = “Yes.; No.;”
mail.To=“abc@abc.com”
mail.Subject=“TEest”
mail.Body=“robo test”
mail.Importance=Microsoft.Office.Interop.Outlook.OlImportance.olImportanceNormal
CType(mail,Microsoft.Office.Interop.Outlook.MailItem).Send()