Error message "
System.TimeoutException: The operation has timed out. at UiPath.Mail.Activities.Extensions.TaskExtensions.d__1`1.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.GetMailActivity.d__13.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
Did you generate the app password or using your login password …ideally you need to generate an app password to connect
And pop 3 required ssl …so select ssl in your secure connection instead of auto
Cheers
i tried set to true but still cannot run.
error: ailKit.Net.Pop3.Pop3ProtocolException: The POP3 server has unexpectedly disconnected. at MailKit.Net.Pop3.Pop3Stream.d__48.MoveNext() in D:\src\MailKit\MailKit\Net\Pop3\Pop3Stream.cs:line 312
— 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 MailKit.Net.Pop3.Pop3Stream.d__56.MoveNext() in D:\src\MailKit\MailKit\Net\Pop3\Pop3Stream.cs:line 549
— 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 MailKit.Net.Pop3.Pop3Engine.d__51.MoveNext() in D:\src\MailKit\MailKit\Net\Pop3\Pop3Engine.cs:line 319
— 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 MailKit.Net.Pop3.Pop3Engine.d__43.MoveNext() in D:\src\MailKit\MailKit\Net\Pop3\Pop3Engine.cs:line 215
— 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 System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
at MailKit.Net.Pop3.Pop3Client.d__107.MoveNext() in D:\src\MailKit\MailKit\Net\Pop3\Pop3Client.cs:line 1139
— 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.MailServiceFactory.CreateMailKitService(EmailProtocol protocol, String server, Int32 port, UserSettings userSettings, SecureSocketOptions options, Int32 timeout, CancellationToken cancellationToken)
at UiPath.Mail.MimeMailService.GetPOP3Messages(UserSettings userSettings, ServerSettings serverSettings, Int32 top, SecureSocketEncryption SecureConnection, Boolean deleteMessages, CancellationToken cancellationToken)
at UiPath.Mail.POP3.Activities.GetPOP3MailMessages.<>c__DisplayClass44_0.b__0()
at System.Threading.Tasks.Task1.InnerInvoke() at System.Threading.Tasks.Task.Execute() --- 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.Extensions.TaskExtensions.<TimeoutAfter>d__1
1.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.GetMailActivity.d__13.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)
I still see it as auto…change it to sslconnection…and email i guess you gave it full email address and then increase the timeout and check
Hope this helps
Cheers
Hi,
Is there any settings to accept POPs in server side and it’s valid?
Can you get mails via POPs using other mail application?
Regards,
Yes.wonderful.it works . How is it timeout to 240000 works ?
Can you explain ?
Basically error was that the request is taking more time…so i asked you to increase it to 4 minutes…default is 30 seconds only
Happy Automation.
Please mark the solution and close so that others can get help
Cheers
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.