Hi, I am trying to get a email message from my yahoo mailbox but i got timeout.Can anyone help me to check why ic ouldnt get the message ? Is it something wrong with my properties?

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

@royang28

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

1 Like

Hi @royang28

can you set the UseOauth property to True and try again
image

Regards

yes, i already use secure password.
As for SSL for pop3 , icouldnt select it .Can you know why ?

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__11.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)

@royang28

You need to select ssl connect

cheers

and yes. i already generate a app password and system still prompt me timeout message

@royang28

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

1 Like

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.Thanks. i change to ssl onconnect ,still time out is prompt

@Ang_Weng_Fook

Can you try increasing the timeout to 240000 and check

cheers

1 Like

Yes.wonderful.it works . How is it timeout to 240000 works ?
Can you explain ?

@Ang_Weng_Fook

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

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.