SMTP Mail Message: The operation has timed out

The SMTP Send Mail Message Activity did work before and now I see the timeout error. I tired “delay”, Updated Packages and also checked if the SMTP connects works. Still see the error.
LOG
[Debug] Execution started for project: EMAIL
[Info] EMAIL execution started
[Error] Send SMTP Mail Message: The operation has timed out.
[Info] EMAIL execution ended in: 00:00:33
[Error] RemoteException wrapping System.TimeoutException: The operation has timed out.
at UiPath.Mail.Activities.Extensions.TaskExtensions.d__2.MoveNext()
— End of stack trace from previous location where exception was thrown —
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at UiPath.Mail.Activities.SendMailActivity.d__43.MoveNext()
— End of stack trace from previous location where exception was thrown —
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 @Bot08100802

Firstly are you able to perform any other SMTP activities?

if yes, Try increasing the timeout.

Are you attaching anything huge?

cheers

Yes , I did use it before and was working fine.

Resolved -

Thank You, there were patches installation pending and the restart fixed the issue.

1 Like

Hi ,

I am facing the same issue. How you fixed the patches issue. Could you please send me a screenshot of it?

Try to upgrade the Robot to https://download.uipath.com/versions/22.10.3/UiPathStudio.msi or https://download.uipath.com/versions/22.4.6/UiPathStudio.msi or https://download.uipath.com/versions/21.10.9/UiPathStudio.msi

install the pending updates on your machine and restart the machine.
(IIS RESET)

Hi,

VDI is fully updated, but still, I am facing this issue. When i tried in my local it is working .