Mail Automation issue :connection attempt failed because the connected party did not properly response

Hi Everybody
I hope that you are fine
I have a problem with Mail automation as I worked with IMAP with Gmail the following message appears
19.4.2+Branch.master.Sha.e17a3bedca2a7da0d0b716b5f8f765d1d5ef1ddc

Source: Get IMAP Mail Messages

Message: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 64.233.167.108:993

Exception Type: System.Net.Sockets.SocketException

An ExceptionDetail, likely created by IncludeExceptionDetailInFaults=true, whose value is:
System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 64.233.167.108:993
at UiPath.Mail.Activities.GetMailActivity.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)
even i make a two level authetication in the gmail and create an app password

kindly advice

Hi @aadam,

Please first loging to google, go to this link : https://myaccount.google.com/lesssecureapps and turn “less secure app” ON because google by default blocks any device/app which is trying to sign in if the device/app doesn’t meet their security standards.

Check if this works and if it does do turn the “less secure app” OFF again. :sweat_smile:

Hope it works

Regards

1 Like

:sweat_smile::rofl::rofl:
this is the answer for you

@aadamis this issue resolved .i am facing the same issue please guide me .

I was also facing same issue but I was using localhost can you please have to config with the local host.Is that mail Id should be login the automation system.