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,148

Thanks: 9 times
Was thanked: 54 time(s) in 54 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,148

Thanks: 9 times
Was thanked: 54 time(s) in 54 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,148

Thanks: 9 times
Was thanked: 54 time(s) in 54 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
403 Server Error when using MS Office 365 OAUTH (EAGetMail POP3 & IMAP4 ActiveX Object)
by elena_itlogistics 8/21/2023 4:27:54 AM(UTC)
Server Error: 421 EHLO MXIN201 (EmailArchitect Email Server (General))
by Cottonshope 6/18/2023 11:34:38 PM(UTC)
Error sending attachments larger than 3MB via MS Graph (first time running into this for us) (EASendMail SMTP ActiveX Object)
by DustinWaling 12/1/2022 5:17:51 PM(UTC)
DeliveryNotificationOptions error (EASendMail SMTP Component - .NET Version)
by TurgayK 3/25/2022 1:02:16 AM(UTC)
501 5.5.4 Invalid Address error while sending (EASendMail SMTP Component - .NET Version)
by TurgayK 3/24/2022 8:28:54 AM(UTC)
Error System.NullReferenceException: 'Object reference not set to an instance of an object.' (EASendMail SMTP Component - .NET Version)
by Vicens 8/19/2021 9:23:39 AM(UTC)
NativeErrorCode: 87 GetMail [oInfo] (EmailArchitect Email Server (General))
by BB77 5/18/2021 6:26:29 AM(UTC)
Error Message while sending mail in delphi (EASendMail SMTP Component - .NET Version)
by jrgeralde 12/28/2020 10:11:29 PM(UTC)
Linux Error (EmailArchitect Email Server (General))
by Timerbreaker900 12/9/2020 6:14:04 AM(UTC)
Error Index and length (EAGetMail POP3 & IMAP4 Component - .NET Version)
by rcichon 8/6/2020 11:17:19 AM(UTC)
DMARC alignment errors (DomanKeys/DKIM for Exchange Server and IIS SMTP)
by p.schuur@groupeonepoint.com 6/25/2020 5:16:07 AM(UTC)
Error with AddAttachment function (EASendMail SMTP Component - .NET Version)
by Miasy 2/19/2020 2:02:55 AM(UTC)
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-2024, Yet Another Forum.NET
This page was generated in 0.108 seconds.

EXPLORE TUTORIALS

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