Search The ForumSearch   RegisterRegister  LoginLogin

MailBee.NET POP3

 AfterLogic Forum : MailBee.NET POP3
Subject Topic: Multiple POP3-Clients on single account Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
Guenther
Newbie
Newbie


Joined: 24 March 2009
Location: Austria
Online Status: Offline
Posts: 3
Posted: 24 March 2009 at 2:35am | IP Logged Quote Guenther

Hello,

one quick question:
Is it save for a client to rely on "MailMessage.IndexOnServer" received from the server?
The reason is: I begin downloading the message headers for all emails, trying to figure out which emails actually had been sent to a certain email-address (it's a catch-all email account) and thus have to be downloaded. After that, i start downloading the entire message for this "MailMessage.IndexOnServer" and deleting it afterwards.
Now, could it happen that meanwhile some other client downloaded and deleted the very first message? And wouldn't that mean, that my "IndexOnServer" has changed (say from 8 to 7) therefore?
Or is it guaranteed, that for a single POP3-Session the index never changes?

Thanks in advance!
Guenther
Back to Top View Guenther's Profile Search for other posts by Guenther
 
Igor
AfterLogic Support
AfterLogic Support


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

When you start POP3 session, you get a snapshot of Inbox folder and you work with it during the session, indexes will not change until you disconnect from POP3 server.

With regard to removing messages from within another POP3 session, this depends on particular mail server configuration. Most probably, if the message was deleted in other session, you'll get an exception while trying to access that message.

Regards,
Igor
Back to Top View Igor's Profile Search for other posts by Igor
 
Guenther
Newbie
Newbie


Joined: 24 March 2009
Location: Austria
Online Status: Offline
Posts: 3
Posted: 24 March 2009 at 4:52am | IP Logged Quote Guenther

Thanks for your quick answer!
I read in the RFC something about a "transaction mode", but was not sure if this means what i predicted to be.
Thank you again for clearing this up!
By the way: Your POP3-Component really rocks

Regards,
Guenther
Back to Top View Guenther's Profile Search for other posts by Guenther
 

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