Search The ForumSearch   RegisterRegister  LoginLogin

MailBee.NET POP3

 AfterLogic Forum : MailBee.NET POP3
Subject Topic: Error during receive emails via POP3 Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
Dmitry
Newbie
Newbie


Joined: 12 November 2009
Location: Ukraine
Online Status: Offline
Posts: 4
Posted: 12 November 2009 at 4:16am | IP Logged Quote Dmitry

Hello,

In my application I use MailBee.NET POP3 component. And when I trying to receive emails from my email box I get following exception:

MailBee.MailBeeInvalidTextResponseException: The particular item of the response data cannot be parsed. The response string: NTENT-TYPE:. ---> bw: The particular item of the response data cannot be parsed.
   at c1.a(String A_0, Encoding A_1)
   at p.a(Int32 A_0)
   --- End of inner exception stack trace ---
   at p.a(Int32 A_0)
   at b5.ak()
   at ar.a(Int32 A_0, Int32 A_1, Int32 A_2)
   at a4.a(Int32 A_0, Int32 A_1, Int32 A_2)
   at a4.a(Boolean A_0, Int32 A_1, Int32 A_2, Int32 A_3)
   at MailBee.Pop3Mail.Pop3.DownloadEntireMessages()


Log of MailBee.NET:

[15:22:15.23] [INFO] Assembly version: 5.0.2.133.
[15:22:15.23] [INFO] Will resolve host "mail.lviv.ua".
[15:22:15.23] [INFO] Host "mail.lviv.ua" resolved to IP address(es) 194.44.214.39.
[15:22:15.23] [INFO] Will connect to host "mail.lviv.ua" on port 110.
[15:22:15.23] [INFO] Socket connected to IP address 194.44.214.39 on port 110.
[15:22:15.39] [RECV] +OK Imap ready.\r\n
[15:22:15.39] [INFO] Connected to mail service at host "mail.lviv.ua" on port 110 and ready.
[15:22:15.39] [INFO] Get the list of POP3 capabilities via CAPA command.
[15:22:15.39] [SEND] CAPA\r\n
[15:22:15.46] [RECV] +OK\r\nCAPA\r\nTOP\r\nUIDL\r\nRESP-CODES\r\nPIPELINING\r\nST LS\r\nUSER\r\nSASL PLAIN\r\n.\r\n
[15:22:15.46] [INFO] Will login as "crystal".
[15:22:15.46] [INFO] Will try regular USER/PASS authentication.
[15:22:15.46] [SEND] USER crystal\r\n
[15:22:15.54] [RECV] +OK\r\n
[15:22:15.54] [SEND] PASS ********\r\n
[15:22:15.62] [RECV] +OK Logged in.\r\n
[15:22:15.62] [INFO] Logged in as "crystal".
[15:22:15.62] [INFO] Download inbox statistics.
[15:22:15.62] [SEND] STAT\r\n
[15:22:15.70] [RECV] +OK 3 22211\r\n
[15:22:15.70] [INFO] Will download entire messages (startIndex=1, count=3).
[15:22:15.70] [SEND] RETR 1\r\n
[15:22:15.70] [SEND] RETR 2\r\n
[15:22:15.70] [SEND] RETR 3\r\n
[15:22:15.96] [RECV] +OK 6847 octets\r\n [Total 6909 bytes received.]
[15:22:16.06] [INFO] Error: The particular item of the response data cannot be parsed. The response string: NTENT-TYPE:.
[15:22:16.07] [INFO] Will disconnect from host "mail.lviv.ua".
[15:22:16.07] [INFO] Disconnected from host "mail.lviv.ua".

In what could be the problem?

Thanks
Back to Top View Dmitry's Profile Search for other posts by Dmitry
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6104
Posted: 12 November 2009 at 4:28am | IP Logged Quote Igor

Looks like you're using an outdated version of MailBee.NET.dll, please try the latest version available at:

.NET 1.1 and above
.NET 2.0 and above

(upgrading instructions can be found here)

In case if the issue persist, please submit the logs generated by the latest version of MailBee.NET Objects.

--
Regards,
Igor, AfterLogic Support
Back to Top View Igor's Profile Search for other posts by Igor
 
Dmitry
Newbie
Newbie


Joined: 12 November 2009
Location: Ukraine
Online Status: Offline
Posts: 4
Posted: 25 November 2009 at 6:08am | IP Logged Quote Dmitry

Hello,

I try to use the latest version of the MailBee.NET.dll (5.7.2.169) as you recommended. But I get the same exception again :(

Log of MailBee.NET:

[12:56:44.51] [INFO] Assembly version: 5.7.2.169.
[12:56:44.50] [INFO] Will resolve host "mail.2upost.com".
[12:56:45.09] [INFO] Host "mail.2upost.com" resolved to IP address(es) 193.0.240.37.
[12:56:45.12] [INFO] Will connect to host "mail.2upost.com" on port 110.
[12:56:45.21] [INFO] Socket connected to IP address 193.0.240.37 on port 110.
[12:56:45.31] [RECV] +OK Hello there.\r\n
[12:56:45.32] [INFO] Connected to mail service at host "mail.2upost.com" on port 110 and ready.
[12:56:45.37] [INFO] Get the list of POP3 capabilities via CAPA command.
[12:56:45.40] [SEND] CAPA\r\n
[12:56:45.40] [RECV] +OK Here's what I can do:\r\nSASL PLAIN LOGIN CRAM-SHA1 CRAM-SHA256\r\nSTLS\r\nTOP\r\nUSER\r\nLOGIN-DELAY 10\r\nPIPELINING\r\nUIDL\r\nIMPLEMENTATION Courier Mail Server\r\n.\r\n
[12:56:45.45] [INFO] Will login as "zvit_masterkey@mclaut.in.ua".
[12:56:45.48] [INFO] Will try regular USER/PASS authentication.
[12:56:45.48] [SEND] USER zvit_masterkey@mclaut.in.ua\r\n
[12:56:45.48] [RECV] +OK Password required.\r\n
[12:56:45.50] [SEND] PASS ********\r\n
[12:56:45.51] [RECV] +OK logged in.\r\n
[12:56:45.53] [INFO] Logged in as "zvit_masterkey@mclaut.in.ua".
[12:56:45.53] [INFO] Download inbox statistics.
[12:56:45.53] [SEND] STAT\r\n
[12:56:45.57] [RECV] +OK 18 135272\r\n
[12:56:45.57] [INFO] Will download entire messages (startIndex=1, count=18).
[12:56:45.60] [SEND] RETR 1\r\n
[12:56:45.60] [SEND] RETR 2\r\n
[12:56:45.60] [SEND] RETR 3\r\n
[12:56:45.60] [SEND] RETR 4\r\n
[12:56:45.64] [SEND] RETR 5\r\n
[12:56:45.64] [SEND] RETR 6\r\n
[12:56:45.64] [SEND] RETR 7\r\n
[12:56:45.64] [SEND] RETR 8\r\n
[12:56:45.64] [SEND] RETR 9\r\n
[12:56:45.64] [SEND] RETR 10\r\n
[12:56:45.64] [SEND] RETR 11\r\n
[12:56:45.64] [SEND] RETR 12\r\n
[12:56:45.65] [SEND] RETR 13\r\n
[12:56:45.65] [SEND] RETR 14\r\n
[12:56:45.65] [SEND] RETR 15\r\n
[12:56:45.68] [SEND] RETR 16\r\n
[12:56:45.68] [SEND] RETR 17\r\n
[12:56:45.68] [SEND] RETR 18\r\n
[12:56:45.73] [RECV] +OK 918 octets follow.\r\n [Total 945 bytes received.]
[12:56:45.92] [INFO] Error: The particular item of the response data cannot be parsed. The response string: .GOV.UA>.
[12:56:45.98] [INFO] Will disconnect from host "mail.2upost.com".
[12:56:45.98] [INFO] Disconnected from host "mail.2upost.com".


Thanks.
Back to Top View Dmitry's Profile Search for other posts by Dmitry
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6104
Posted: 25 November 2009 at 6:28am | IP Logged Quote Igor

To let us help you on this, please provide us with a test account we could use to reproduce the issue.

Most probably, the issue is caused by pipelining feature in effect, and turning it off may eliminate the issue; check this documentation page for details on this. This issue does not arise with other mailers like Outlook Express as they don't utilise pipelining, but be aware that turning pipelining off may cause degraded performance.

--
Regards,
Igor, AfterLogic Support
Back to Top View Igor's Profile Search for other posts by Igor
 
TLG
Newbie
Newbie
Avatar

Joined: 21 March 2012
Location: Mongolia
Online Status: Offline
Posts: 1
Posted: 21 March 2012 at 3:24am | IP Logged Quote TLG

Hello, I`m using old version of Mailbee. It`s working fine until this error occurs. Do I have to try the newest version ? Thank you.

[19:10:07.06] [INFO] Assembly version: 5.6.2.146.
[19:10:07.06] [INFO] Will perform POP-before-SMTP authentication.
[19:10:07.06] [INFO] Will resolve host "host_name".
[19:10:07.06] [INFO] Host "host_name" resolved to IP address(es) IP_ADDRESS.
[19:10:07.06] [INFO] Will connect to host "host_name" on port 25.
[19:10:07.33] [INFO] Socket connected to IP address IP_ADDRESS on port 25.
[19:10:07.62] [INFO] Will disconnect from host "host_name".
[19:10:07.62] [INFO] Disconnected from host "host_name".
[19:10:07.62] [INFO] Error: The particular item of the response data cannot be parsed. The response string: 220.
Back to Top View TLG's Profile Search for other posts by TLG
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6104
Posted: 21 March 2012 at 3:34am | IP Logged Quote Igor

While that might be a problem of particular DLL build, and trying the latest version might help indeed, the error message states there's a problem on mail server level. If the issue persists with the latest version, please let us know, and be sure to check your valid maintenance status first.

--
Regards,
Igor, AfterLogic Support
Back to Top View Igor's Profile Search for other posts by Igor
 
rayann
Newbie
Newbie


Joined: 17 September 2013
Location: Iran
Online Status: Offline
Posts: 3
Posted: 17 September 2013 at 11:25pm | IP Logged Quote rayann

hello
I use MailBee.NET POP3 component.
I recived emails with my webmail but I have problem downloading emails with MailBee.Pop3Mail.Pop3.QuickDownloadMessage and I receive this error:"The server has responded with negative reply. The server responded: -ERR authorization failed."
Log of MailBee.NET:
[10:51:00.55] [INFO] Assembly version: 7.0.2.328.
[10:51:00.50] [INFO] Will resolve host "...".
[10:51:00.57] [INFO] Host "..." resolved to IP address(es) ....
[10:51:00.58] [INFO] Will connect to host "..." on port ....
[10:51:00.64] [INFO] Socket connected to IP address ... on port ....
[10:51:01.54] [RECV] +OK <...>\r\n
[10:51:01.59] [INFO] Connected to mail service at host "..." on port ... and ready.
[10:51:04.57] [INFO] Get the list of POP3 capabilities via CAPA command.
[10:51:04.58] [SEND] CAPA\r\n
[10:51:05.12] [RECV] -ERR authorization first\r\n
[10:51:05.14] [INFO] Warning: The server does not support CAPA command. POP3 pipelining will not be available. The server responded: -ERR authorization first.
[10:51:05.18] [INFO] Get the list of advertized SASL authentication methods via AUTH command.
[10:51:05.19] [SEND] AUTH\r\n
[10:51:05.76] [RECV] -ERR authorization first\r\n
[10:51:05.79] [INFO] Warning: The server does not support AUTH command. SASL authentication will not be available. The server responded: -ERR authorization first.
[10:51:05.80] [INFO] Will login as "....".
[10:51:05.81] [INFO] Will try regular USER/PASS authentication.
[10:51:05.82] [SEND] USER ....\r\n
[10:51:06.44] [RECV] +OK \r\n
[10:51:06.44] [SEND] PASS ********\r\n
[10:51:07.04] [RECV] +OK \r\n
[10:51:07.05] [INFO] Logged in as "....".
[10:51:07.06] [INFO] Download inbox statistics.
[10:51:07.07] [SEND] STAT\r\n
[10:51:07.67] [RECV] +OK 6 22070\r\n
[10:51:11.51] [INFO] Download the list of Unique-IDs of all messages in inbox.
[10:51:11.52] [SEND] UIDL\r\n
[10:51:12.33] [RECV] +OK \r\n1 1379326622.3133.HOSTING-LinuxHC,S=1286\r\n2 1379342886.239 ... TING-LinuxHC,S=4886\r\n6 1379432989.583.HOSTING-LinuxHC,S=930\r\n.\r\n [Total 260 bytes received.]
Back to Top View rayann's Profile Search for other posts by rayann
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6104
Posted: 17 September 2013 at 11:39pm | IP Logged Quote Igor

Strangely enough, the log extract doesn't contain "-ERR authorization failed", so it's probably different session logged. Anyway, MailBee attempts to use most secure authentication methods first, but this particular server seems to handle regular authentication only. Try using that one explicitly for Pop3.Login - or, alternately, use AuthenticationOptions.PreferSimpleMethods there. Advanced configuration like that one won't work with QuickDownloadMessage method though, you'll need something like DownloadEntireMessage instead.

By the way, you're using quite an old DLL build, you can download current one for .NET Framework 2.0 or above, there's also build for .NET Framework 4.0 or above.

--
Regards,
Igor, AfterLogic Support
Back to Top View Igor's Profile Search for other posts by Igor
 
rayann
Newbie
Newbie


Joined: 17 September 2013
Location: Iran
Online Status: Offline
Posts: 3
Posted: 18 September 2013 at 2:03am | IP Logged Quote rayann

Thank you, my problem was resolved.
Can I download emails from multiple mailbox with Pop3?
Back to Top View rayann's Profile Search for other posts by rayann
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6104
Posted: 18 September 2013 at 2:06am | IP Logged Quote Igor

Sure, but if you want to do that simultaneously, you'd need to create multiple Pop3 object instances and probably put them to separate threads.

--
Regards,
Igor, AfterLogic Support
Back to Top View Igor's Profile Search for other posts by Igor
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump

Powered by Web Wiz Forums version 7.9
Copyright ©2001-2004 Web Wiz Guide