Email automation

email
activities

#1

Hi,

I am trying to extract mail from gmail and display them.But it is showing me some error.
Can anyone please help me solve this issue.

Regards
Sushree

\MailAutomation has thrown an exception

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

Source: Get IMAP mail messages

Exception Type: SocketException

System.Net.Sockets.SocketException (0x80004005): 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
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)


Activity: "Send SMTP Mail Message" from gmail to gmail
How to create a loop which will download the files from Google Drive
#2

Hello!

It’s seems like a connection error. Are you sure that the port 993 is opened? Are you using proxy?

Try to test your connection route using tracert or netstat commands and make sure that isn’t a connection issue.

Regards,


#3

Have you tried using the Get POP3 activity instead?


#4

And also Gmail is configured to use 995 not 993.

https://www.lifewire.com/what-are-the-gmail-pop3-settings-1170853


#5

Main.xaml (6.2 KB)

hi ,

I tried the get pop3 option with all the required settings as mentioned , but still it is not giving any output.

Thanks and Regards

Sushree Suravi


#6

Hi @richarddenton,
I solved the connection problem .
Thanks for your help.
Regards
Sushree suravi


#7

I am still Facing issues in getting my g-mail via IMAP

I have checked all settings and made sure all is good. Still i am unable to retrive my e-mails via UI path

Please help.


#8

@B_R_Pawan_Kumar
In order to read mails from gmail, you have to make sure that it allows less secure apps to access your account.
https://support.google.com/accounts/answer/6010255?hl=en


#9

hi sushree how did you solve that issue ? am facing same issue. imap setting.


#10

These are some the common causes of error 0x80004005
Take a look at this fix: https://errorcodespro.com/fix-error-code-0x80004005-windows-7-10/


#11

Remember to remove all the security settings from your email that you are going to communicate . Use gmail settings to change the security configuration. Then try it.

Thanks
Sushree


#12

Just Try your gmail with App Password service


#13

Hi,

      Could you please able to give exact Solution for this  Problem.

Thank you