On Tue, 21 Sep 2004, Niklas Fondberg wrote:
Q1. Which is the most efficient way to see if there is new mail?
My first idea would be to have a search for messages newer than last search because otherwise I would have to rely on flags set on the server (right) and I have to leave messages on pop3 servers.

If you have an IMAP session open when the new mail is delivered, then you will see the new messages in the session without having to do a SEARCH.


Otherwise, recall the UID of the last message in the mailbox, then you can use <last UID + 1>:* to reference messages since that time.

-- Mark --

http://staff.washington.edu/mrc
Science does not emerge from voting, party politics, or public debate.
Si vis pacem, para bellum.

Reply via email to