Please help me out, trying out UiPath newly. I tried closing outlook as well yet same error. I have an mail account currently signed in Outlook already.
These are the properties:
Exact error message:
RemoteException wrapping System.Runtime.InteropServices.COMException: Operation aborted (0x80004004 (E_ABORT))
at Microsoft.Office.Interop.Outlook._MailItem.get_HTMLBody()
at UiPath.Mail.OutlookAPI.AddHtmlBodyAlternateViewIfNeeded(MailMessage mailMessage,
MailItem mailItem)
at UiPath.Mail.OutlookAPI.CreateMailMessageFromOutlookDynamicItem(Object item,
Boolean saveattachments,
String folderpath)
at System.Dynamic.UpdateDelegates.UpdateAndExecute4[T0,T1,T2,T3,TRet](CallSite site,
T0 arg0,
T1 arg1,
T2 arg2,
T3 arg3)
at UiPath.Mail.OutlookAPI.GetMessages(MAPIFolder inboxFolder,
Int32 count,
MailFilterVariant filterVariant,
EOrderByDate orderByDate,
Boolean onlyUnread,
Boolean markAsRead,
Boolean getAttachments,
CancellationToken cancellationToken)
at UiPath.Mail.OutlookAPI.GetMessages(String account,
String folderMail,
Int32 count,
MailFilterVariant filter,
EOrderByDate orderByDate,
Boolean onlyUnread,
Boolean markAsRead,
Boolean getAttachments,
CancellationToken cancellationToken)
at UiPath.Mail.Outlook.Activities.GetOutlookMailMessages.<>c__DisplayClass40_0.b__0()
at System.Threading.Tasks.Task1.InnerInvoke() at System.Threading.Tasks.Task.<>c.<.cctor>b__272_0(Object obj) at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state) --- End of stack trace from previous location --- at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state) at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread) --- End of stack trace from previous location --- at UiPath.Mail.Activities.Extensions.TaskExtensions.TimeoutAfter[TResult](Task
1 task,
Int32 timeoutMs)
at UiPath.Mail.Activities.GetMailActivity.ExecuteAsync(AsyncCodeActivityContext context,
CancellationToken cancellationToken)
at UiPath.Shared.Activities.AsyncTaskCodeActivityImplementation.EndExecute(AsyncCodeActivityContext context,
IAsyncResult result)
at UiPath.Shared.Activities.AsyncTaskCodeActivity.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)