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 : 10 years ago
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 : 10 years ago
ivan

Rank: Administration

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

Thanks: 9 times
Was thanked: 56 time(s) in 56 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 : 10 years ago
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 : 10 years ago
ivan

Rank: Administration

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

Thanks: 9 times
Was thanked: 56 time(s) in 56 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 : 10 years ago
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 : 10 years ago
ivan

Rank: Administration

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

Thanks: 9 times
Was thanked: 56 time(s) in 56 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
Guest
Similar Topics
SmtpClient.TestRecipients fails with connection error (EASendMail SMTP Component - .NET Version)
by mdailor 6 months ago
Outlook.com login error 535 5.7.139 Basic Authentication failed (EASendMail SMTP ActiveX Object)
by Janvk82 8 months ago
403 Server Error when using MS Office 365 OAUTH (EAGetMail POP3 & IMAP4 ActiveX Object)
by elena_itlogistics 2 years ago
Server Error: 421 EHLO MXIN201 (EmailArchitect Email Server (General))
by Cottonshope 2 years ago
Error sending attachments larger than 3MB via MS Graph (first time running into this for us) (EASendMail SMTP ActiveX Object)
by DustinWaling 3 years ago
DeliveryNotificationOptions error (EASendMail SMTP Component - .NET Version)
by TurgayK 3 years ago
501 5.5.4 Invalid Address error while sending (EASendMail SMTP Component - .NET Version)
by TurgayK 3 years ago
Error System.NullReferenceException: 'Object reference not set to an instance of an object.' (EASendMail SMTP Component - .NET Version)
by Vicens 4 years ago
NativeErrorCode: 87 GetMail [oInfo] (EmailArchitect Email Server (General))
by BB77 4 years ago
Error Message while sending mail in delphi (EASendMail SMTP Component - .NET Version)
by jrgeralde 4 years ago
Linux Error (EmailArchitect Email Server (General))
by Timerbreaker900 5 years ago
Error Index and length (EAGetMail POP3 & IMAP4 Component - .NET Version)
by rcichon 5 years ago
DMARC alignment errors (DomanKeys/DKIM for Exchange Server and IIS SMTP)
by p.schuur@groupeonepoint.com 5 years ago
Error with AddAttachment function (EASendMail SMTP Component - .NET Version)
by Miasy 5 years ago
License Error (EmailArchitect Email Server (General))
by eugene 6 years ago
usp_SendTextEmail LicenseCode Property error (EASendMail SMTP ActiveX Object)
by NandC 7 years ago
EAGetMail: Error 'Value cannot be null' on POP3 and IMAP connection with SOCKS5 proxy. (EAGetMail POP3 & IMAP4 Component - .NET Version)
by TheDirector 8 years ago
AddRecipientEx - Error (EASendMail SMTP ActiveX Object)
by Lluís 8 years ago
Remote Delivery Error (EmailArchitect Email Server (General))
by susumaung 8 years ago
Access is denied.NativeErrorCode: 5 [Update Domain] (DomanKeys/DKIM for Exchange Server and IIS SMTP)
by brian.barnes@fpimgt.com 9 years ago
error delivery error (EmailArchitect Email Server (General))
by lveronneau 12 years ago
Error 429 - Can't create object (EASendMail SMTP ActiveX Object)
by markariels 13 years ago
EASendMail Error (EASendMail SMTP ActiveX Object)
by markariels 13 years ago
vb6 send email error (EASendMail SMTP ActiveX Object)
by coolcurrent 13 years ago
Error connecting to POP3 with comcast (EAGetMail POP3 & IMAP4 ActiveX Object)
by XiMaker 14 years ago
IMAP4 Login error with special characters (EAGetMail POP3 & IMAP4 Component - .NET Version)
by snorek 14 years ago
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-2025, Yet Another Forum.NET
This page was generated in 1.933 seconds.

EXPLORE TUTORIALS

© All Rights Reserved, AIFEI Software Limited & AdminSystem Software Limited.