Rank: Newbie
Groups: Registered
Joined: 6/21/2016(UTC) Posts: 3
Hi there,
First time poster and user of EAGetMail here.
I downloaded the trial version and everything seemed to be okay (although we only tried it with one email at a time). When we registered our copy, it takes 10-12 seconds to download any particular email.
I used the sample code here (with modifications):
https://www.emailarchite...mail/kb/vbnet.aspx?cat=5 I added an HTML server-side div tag and used it to track the how long it takes to retrieve a particular email:
Email 2 retrieve attempt 21/06/2016 3:24:37 pm
Retrieved 21/06/2016 3:24:47 pm
The parts in between are these three lines here:
Dim info As MailInfo = infos(i)
' Console.WriteLine("Index: {0}; Size: {1}; UIDL: {2}", _
info.Index, info.Size, info.UIDL)
' Receive email from Gmail server
Dim oMail As Mail = oClient.GetMail(info)
It seems to struggle to get an email, and then after about 10-15 emails I see this error:
A socket operation failed because the destination host was down
This happens on this line:
oMail = oClient.GetMail(info)
Now, I did try opening the ports in Windows Firewall after reading this post:
https://www.emailarchite...1171_Error.aspx#post2438 It didn't seem to make a difference, however.
So my question is this: what else can I do to fix this and speed up the retrieval of each email?
Thank you.
Rank: Administration
Groups: Administrators
Joined: 11/11/2010(UTC) Posts: 1,153
Thanks: 9 times Was thanked: 55 time(s) in 55 post(s)
Hi, Thanks for using EAGetMail.
it is not about firewall, because you can connect the server.
Could you generate a log file with LogFileName property and send it to
support@emailarchitect.net
Rank: Newbie
Groups: Registered
Joined: 6/21/2016(UTC) Posts: 3
Hi Ivan, I'm sorry, I don't understand what it is that you want me to do exactly. How do I generate the log? Where is the LogFileName property? Thanks.
Rank: Administration
Groups: Administrators
Joined: 11/11/2010(UTC) Posts: 1,153
Thanks: 9 times Was thanked: 55 time(s) in 55 post(s)
Code:
oClient.LogFileName = "d:\maillog.txt"
oClient.Connect(oServer)
Rank: Newbie
Groups: Registered
Joined: 6/21/2016(UTC) Posts: 3
Rank: Newbie
Groups: Registered
Joined: 10/15/2017(UTC)
Posts: 3
Hi, could you please let me know how you fixed this issue? I'm getting the same error but the physical connectivity with the mail server is okay. Not sure why this error is coming up.
Error :
A first chance exception of type 'System.Net.Sockets.SocketException' occurred in EAGetMail45.dll A socket operation failed because the destination host was down Below is the log extract :
Resolving server ...
Server: xxxxxxxxxxxxxxxxxxx
Port: 110
AuthType: AuthLogin
User: xxxxxxxxxxxxxxxxxxx
Password: xxxxxxxxxxxxxxxxxxx
Alias:
SSLConnection: False
SSLType: ConnectSSLAuto
Protocol: Pop3
SocksProxyServer:
SocksProxyPort: 1080
SocksProxyUser:
SocksProxyPassword:
ProxyProtocol: Socks5
Create socket InterNetwork,Stream,Tcp ...
Start to connecting ...
xxxxxxxxxxxxxxxxxxx, 110
Connected
Edited by user Sunday, October 15, 2017 11:30:11 PM(UTC)
| Reason: Not specified
Rank: Administration
Groups: Administrators
Joined: 11/11/2010(UTC) Posts: 1,153
Thanks: 9 times Was thanked: 55 time(s) in 55 post(s)
Hi, could you use telnet to test port 110 and see if it returned +OK...
https://www.emailarchite...onnection-to-pop3-server PS: did you have any anti-virus software installed?
Originally Posted by: Buddhika1991 Hi, could you please let me know how you fixed this issue? I'm getting the same error but the physical connectivity with the mail server is okay. Not sure why this error is coming up. Error :A first chance exception of type 'System.Net.Sockets.SocketException' occurred in EAGetMail45.dll A socket operation failed because the destination host was down Below is the log extract : Resolving server ... Server: xxxxxxxxxxxxxxxxxxx Port: 110 AuthType: AuthLogin User: xxxxxxxxxxxxxxxxxxx Password: xxxxxxxxxxxxxxxxxxx Alias: SSLConnection: False SSLType: ConnectSSLAuto Protocol: Pop3 SocksProxyServer: SocksProxyPort: 1080 SocksProxyUser: SocksProxyPassword: ProxyProtocol: Socks5 Create socket InterNetwork,Stream,Tcp ... Start to connecting ... xxxxxxxxxxxxxxxxxxx, 110 Connected
Rank: Newbie
Groups: Registered
Joined: 10/15/2017(UTC)
Posts: 3
Hi, thanks for the response. Yeah I checked the port via telnet. It returns okay. No there were no new programs installed recently, nor any firewall changes. This has been working fine for the past few weeks. I got this error today only.
Rank: Newbie
Groups: Registered
Joined: 10/15/2017(UTC)
Posts: 3
I get below error after switching on SSL. Authentication failed because the remote party has closed the transport stream.
Rank: Administration
Groups: Administrators
Joined: 11/11/2010(UTC) Posts: 1,153
Thanks: 9 times Was thanked: 55 time(s) in 55 post(s)
Originally Posted by: Buddhika1991 I get below error after switching on SSL. Authentication failed because the remote party has closed the transport stream.
I saw you set SSLConnection: False, is it the full log, to solve the issue quickly, please send information to
support@emailarchitect.net directly.
Forum Jump
EmailArchitect Support
Email Component Development
- EASendMail SMTP Component - .NET Version
- EASendMail SMTP Component - Windows Store Apps
- EASendMail SMTP ActiveX Object
- EAGetMail POP3 & IMAP4 Component - .NET Version
- EAGetMail POP3 & IMAP4 ActiveX Object
Exchange Server and IIS SMTP Plugin
- DomanKeys/DKIM for Exchange Server and IIS SMTP
- Disclaimer and S/MIME for Exchange Server and IIS
EmailArchitect Email Server
- EmailArchitect Email Server (General)
- EmailArchitect Email Server Development
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.