Mail activities compatibility with Outlook 2019

Hi,

does anyone know whether Uipath is planning to add compatibility with Outlook 2019 to the mail activities ? Currently there’s support up to Outlook 2016, and unfortunately I need to use the 2019 version.

Thanks,
Giovanni

@gromeo

Are you facing any issue with Outlook 2019 ?

Hi,

yes, I get the following exception (the inner COMException is in italian, it means “The attempted operation failed. An object could not be found”):

RemoteException wrapping System.Runtime.InteropServices.COMException: Operazione non riuscita. Errore sconosciuto dell’interfaccia di trasferimento messaggi. Se il problema persiste,
riavviare Outlook. Operazione non riuscita. Impossibile trovare un oggetto.
at UiPath.Mail.Activities.SendMailActivity.EndExecute(AsyncCodeActivityContext context,
IAsyncResult result)
at System.Activities.AsyncCodeActivity.System.Activities.IAsyncCodeActivity.FinishExecution(AsyncCodeActivityContext context,
IAsyncResult result)
at System.Activities.AsyncCodeActivity.CompleteAsyncCodeActivityData.CompleteAsyncCodeActivityWorkItem.Execute(ActivityExecutor executor,
BookmarkManager bookmarkManager)

The Mail Activities page (https://docs.uipath.com/activities/docs/about-the-mail-activities-pack) clearly states (as an important note) that:

The UiPath.Mail.Activities pack is compatible with the following Microsoft Outlook versions:

  • 2010
  • 2013
  • 2016
  • Office 365

So I bet my problem is due to Outlook 2019 not being compatible with the mail activities pack.

Giovanni

Never mind. It was the “isBodyHtml” property set to true that for some reason causes the problem. If that checkbox is not checked then the mail is sent properly.
Now I have to investigate why that happens 'cause I could need to send html messages.

Giovanni

2 Likes

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