Search The ForumSearch   RegisterRegister  LoginLogin

MailBee.NET POP3

 AfterLogic Forum : MailBee.NET POP3
Subject Topic: Get Message Index From Uid returns 0 Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
NobodyFamous
Newbie
Newbie
Avatar

Joined: 19 October 2007
Location: Canada
Online Status: Offline
Posts: 11
Posted: 02 November 2007 at 3:40pm | IP Logged Quote NobodyFamous

Hello,

I've got a Queue that i'm loading every string from GetMessageUids() into.

I Dequeue each Uid from the list (they all look unique and proper), but when calling GetMessageIndexFromUid(string uidOn) it always returns 0. I'm not getting exceptions bubbling up, and the log looks clean:


[18:36:40.21] [INFO] Assembly version: 2.0.0.6.
[18:36:40.23] [INFO] Will resolve host "pop.gmail.com".
[18:36:40.25] [INFO] Host "pop.gmail.com" resolved to IP address(es) 72.14.205.109.
[18:36:40.25] [INFO] Will connect to host "pop.gmail.com" on port 995.
[18:36:40.28] [INFO] Socket connected to IP address 72.14.205.109 on port 995.
[18:36:40.42] [RECV] +OK Gpop ready for requests from 76.10.146.235 e13pf468708qbe\r\n
[18:36:40.42] [INFO] Connected to mail service at host "pop.gmail.com" on port 995 and ready.
[18:36:40.43] [INFO] Get the list of POP3 capabilities via CAPA command.
[18:36:40.43] [SEND] CAPA\r\n
[18:36:40.45] [RECV] +OK Capability list follows\r\nUSER\r\nRESP-CODES\r\nEXPIRE 0\r\nLOGIN-DELAY 300\r\nX-GOOGLE-VERHOEVEN\r\nUIDL\r\n.\r\n
[18:36:40.46] [INFO] Will login as "xx@xxxxxxx.com".
[18:36:40.48] [INFO] Will try regular USER/PASS authentication.
[18:36:40.48] [SEND] USER xx@xxxxx.com\r\n
[18:36:40.62] [RECV] +OK send PASS\r\n
[18:36:40.62] [SEND] PASS ********\r\n
[18:36:40.84] [RECV] +OK Welcome.\r\n
[18:36:40.84] [INFO] Logged in as "xx@xxxxx.com".
[18:36:40.84] [INFO] Download inbox statistics.
[18:36:40.84] [SEND] STAT\r\n
[18:36:40.89] [RECV] +OK 347 3578320\r\n
[18:36:40.92] [INFO] Download the list of Unique-IDs of all messages in inbox.
[18:36:40.92] [SEND] UIDL\r\n
[18:36:41.04] [RECV] +OK\r\n [Total 9963 bytes received.]


It doesn't look like it's doing anything on the server side to get the Index. I'm using Gmail obviously, if that makes any difference.

What's going on here?
Back to Top View NobodyFamous's Profile Search for other posts by NobodyFamous
 
Andrew
AfterLogic Support
AfterLogic Support


Joined: 28 April 2006
Location: United States
Online Status: Offline
Posts: 1189
Posted: 03 November 2007 at 6:39am | IP Logged Quote Andrew

As described in the documentation, Pop3.GetMessageIndexFromUid returns zero if the inbox does not contain the message with the given Unique-ID.

If you're sure you pass existing UIDs to Pop3.GetMessageIndexFromUid method, but it still returns zero, please download the latest version of MailBee.NET.dll and try to reproduce the issue.

If it doesn't help, please provide us with a part of the source code of your application which causes the issue. Use Request Support Form for this purpose.

Best regards,
Andrew
Back to Top View Andrew's Profile Search for other posts by Andrew
 

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