Outlook Send Email Error

Hi Team,

When i try to Send email via outlook I am getting an below error message.

Main has thrown an exception

Source: Send Outlook Mail Message

Message: Retrieving the COM class factory for component with CLSID {0006F03A-0000-0000-C000-000000000046} failed due to the following error: 80080005 Server execution failed (Exception from HRESULT: 0x80080005 (CO_E_SERVER_EXEC_FAILURE)).

Exception Type: COMException

System.Runtime.InteropServices.COMException (0x80080005): Retrieving the COM class factory for component with CLSID {0006F03A-0000-0000-C000-000000000046} failed due to the following error: 80080005 Server execution failed (Exception from HRESULT: 0x80080005 (CO_E_SERVER_EXEC_FAILURE)).
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)"

Regards,
Vijay

1 Like

do you run uipath as an administrator?

Please go through this

No, I ran as a normal User only.
I ran it with administrator still i am facing the same issue

1 Like

Go to Add/Remove Program and Repair Office 20xx.
Afterward, go to outlook setting to allow Macro.

1 Like