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

Notification

Icon
Error

Options
Go to last post Go to first unread
asenour  
#1 Posted : Tuesday, June 21, 2016 6:37:05 AM(UTC)
asenour

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.
ivan  
#2 Posted : Tuesday, June 21, 2016 5:42:22 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)
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
asenour  
#3 Posted : Wednesday, June 22, 2016 5:18:36 AM(UTC)
asenour

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.
ivan  
#4 Posted : Wednesday, June 22, 2016 5:29:16 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)
Code:

oClient.LogFileName = "d:\maillog.txt"
oClient.Connect(oServer)


asenour  
#5 Posted : Wednesday, June 22, 2016 5:35:51 AM(UTC)
asenour

Rank: Newbie

Groups: Registered
Joined: 6/21/2016(UTC)
Posts: 3

Actually, I just figured out what you meant. Sending the email to support@emailarchitect.net. Thanks.
Buddhika1991  
#6 Posted : Sunday, October 15, 2017 11:28:56 PM(UTC)
Buddhika1991

Rank: Newbie

Groups: Registered
Joined: 10/15/2017(UTC)
Posts: 3
Sri Lanka

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

ivan  
#7 Posted : Sunday, October 15, 2017 11:52:43 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)
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 Go to Quoted Post
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


Buddhika1991  
#8 Posted : Monday, October 16, 2017 12:11:23 AM(UTC)
Buddhika1991

Rank: Newbie

Groups: Registered
Joined: 10/15/2017(UTC)
Posts: 3
Sri Lanka

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.

Buddhika1991  
#9 Posted : Monday, October 16, 2017 12:33:00 AM(UTC)
Buddhika1991

Rank: Newbie

Groups: Registered
Joined: 10/15/2017(UTC)
Posts: 3
Sri Lanka

I get below error after switching on SSL.

Authentication failed because the remote party has closed the transport stream.
ivan  
#10 Posted : Monday, October 16, 2017 8:41:38 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)
Originally Posted by: Buddhika1991 Go to Quoted Post
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.
Users browsing this topic
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.111 seconds.

EXPLORE TUTORIALS

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