I have outlook installed on my machine
I have my mail account setup in Outlook
I have only 3 emails in the inbox and timeout set to 30000ms
and when I run this activity alone, I am seeing the message ‘The operation has timed out.’
I tried leaving the ‘Account’ field blank and tried filling in with my email id as well and the same error shows up in both cases.
Below is the complete error I see -
RemoteException wrapping System.TimeoutException: The operation has timed out.
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)
Hi @sriramcse31
Update the mail packages in UiPath if you use system outlook mail. You can obtain the scope of action so that you can easily use it in your mail automations.
Generally corporate outlooks will be blocking any access programmatically.
You should ask your it to grant access for that…there would be firewalls to access outlook…so ask thwm to unblock for the specific account that you would be using.
Mostly that might not be possible…atleast in our org they would not allow not sure…if your it would agree