Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
abhayyadav  
#1 Posted : Tuesday, December 1, 2015 10:14:58 AM(UTC)
abhayyadav

Rank: Newbie

Groups: Registered
Joined: 12/1/2015(UTC)
Posts: 3


Hello Team,

Getting "a socket operation failed because the destination host was down" error when trying to read email from Gmail account through IMAP.

We have used the developer licences on another instance and not faced this issue.

Currently we are working on trial account as procurement of the licences is pending for this instance.

Please help!
ivan  
#2 Posted : Tuesday, December 1, 2015 6:07:23 PM(UTC)
ivan

Rank: Administration

Groups: Administrators
Joined: 11/11/2010(UTC)
Posts: 1,013

Thanks: 9 times
Was thanked: 37 time(s) in 37 post(s)
It is likely that your connection to Gmail server has a problem.
Please make sure outbound 993 port is opened in your router or firewall.

You can do a test like this:

https://www.emailarchite...eagetmail/kb/csharp.aspx

Please see troubleshoot section and please test the imap.gmail.com 993 port by telnet.
abhayyadav  
#3 Posted : Tuesday, December 1, 2015 11:42:27 PM(UTC)
abhayyadav

Rank: Newbie

Groups: Registered
Joined: 12/1/2015(UTC)
Posts: 3

Hello Ivan,

First it was giving connection could not be established error. When we opened IP ranges from 72.125.0.0 to 72.125.255.255 and opened port number 993 connection issue was resolved.

Have tried telnet impag.gmail.com 993 and it is getting connected now.

But when running it through code it gives this "a socket operation failed because the destination host was down".

Please help!
ivan  
#4 Posted : Wednesday, December 2, 2015 2:54:48 AM(UTC)
ivan

Rank: Administration

Groups: Administrators
Joined: 11/11/2010(UTC)
Posts: 1,013

Thanks: 9 times
Was thanked: 37 time(s) in 37 post(s)
use open 993 port to any IP and try it again, because Gmail IMAP4 server IP addresses are variable and not limited to 72.125.*
abhayyadav  
#5 Posted : Monday, December 7, 2015 9:35:58 AM(UTC)
abhayyadav

Rank: Newbie

Groups: Registered
Joined: 12/1/2015(UTC)
Posts: 3

Hi Ivan,

Have found what the problem is.

After i have removed server hardening configuration it is able to communicate to Gmail.

Please confirm if there is any particular configuration that i have to not do, since to add it to our company domain we have to perform server hardening.

Please help!

Thanks
ivan  
#6 Posted : Tuesday, December 8, 2015 7:36:13 PM(UTC)
ivan

Rank: Administration

Groups: Administrators
Joined: 11/11/2010(UTC)
Posts: 1,013

Thanks: 9 times
Was thanked: 37 time(s) in 37 post(s)
Could you please add an outbound rule in your firewall to allow your application (.exe) from any Local IP/any Local port to Any Remote IP and 993, 995, 110, 143 ports.

I thought that should be OK.
Users browsing this topic
Similar Topics
License Error (EmailArchitect Email Server (General))
by eugene 6/3/2019 2:39:56 AM(UTC)
usp_SendTextEmail LicenseCode Property error (EASendMail SMTP ActiveX Object)
by NandC 3/9/2018 9:17:09 AM(UTC)
EAGetMail: Error 'Value cannot be null' on POP3 and IMAP connection with SOCKS5 proxy. (EAGetMail POP3 & IMAP4 Component - .NET Version)
by TheDirector 11/29/2017 4:32:20 AM(UTC)
AddRecipientEx - Error (EASendMail SMTP ActiveX Object)
by Lluís 11/8/2017 9:09:12 AM(UTC)
Remote Delivery Error (EmailArchitect Email Server (General))
by susumaung 8/17/2017 11:40:31 PM(UTC)
Access is denied.NativeErrorCode: 5 [Update Domain] (DomanKeys/DKIM for Exchange Server and IIS SMTP)
by brian.barnes@fpimgt.com 10/19/2016 2:32:21 PM(UTC)
error delivery error (EmailArchitect Email Server (General))
by lveronneau 12/24/2013 11:27:57 AM(UTC)
Error 429 - Can't create object (EASendMail SMTP ActiveX Object)
by markariels 6/7/2012 2:12:04 PM(UTC)
EASendMail Error (EASendMail SMTP ActiveX Object)
by markariels 5/31/2012 2:18:30 PM(UTC)
vb6 send email error (EASendMail SMTP ActiveX Object)
by coolcurrent 2/8/2012 12:44:54 PM(UTC)
Error connecting to POP3 with comcast (EAGetMail POP3 & IMAP4 ActiveX Object)
by XiMaker 3/9/2011 2:20:57 PM(UTC)
IMAP4 Login error with special characters (EAGetMail POP3 & IMAP4 Component - .NET Version)
by snorek 2/16/2011 4:54:49 AM(UTC)
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Powered by YAF.NET | YAF.NET © 2003-2019, Yet Another Forum.NET
This page was generated in 0.087 seconds.

EXPLORE TUTORIALS

© All Rights Reserved, AdminSystem Software Limited.