Search The ForumSearch   RegisterRegister  LoginLogin

MailBee POP3

 AfterLogic Forum : MailBee POP3
Subject Topic: How to retrieve messages newer than...? Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
frantisek_josef
Newbie
Newbie


Joined: 14 January 2008
Location: Czech Republic
Online Status: Offline
Posts: 1
Posted: 14 January 2008 at 6:04am | IP Logged Quote frantisek_josef

Hello,

I need to download the headers of the messages that has been received after a particular date? I don't want to download all the headers. Is it possible?

My idea was that the messages are sorted by date (than it would be possible to download them from the last index and interrupt if a too old header downloaded) but it seems not always to be true.

Thank you in advance.
Back to Top View frantisek_josef's Profile Search for other posts by frantisek_josef
 
Andrew
AfterLogic Support
AfterLogic Support


Joined: 28 April 2006
Location: United States
Online Status: Offline
Posts: 1189
Posted: 15 January 2008 at 11:44pm | IP Logged Quote Andrew

The approach you described will work with certain mail servers only. There is no reliable solution for this except receiving all headers because not all mail servers return messages in chronological order. If you need this to be implemented for a certain mail server only, you may implement the described approach.

It's possible to implement a reliable solution using IMAP protocol. If it's an option for you to use IMAP, you may get necessary message UIDs via IMAP4.Search method.

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