login about faq

My application saves the UID of the last email it downloaded. How do I download all of the new emails at LastUid+1 and beyond?

asked Oct 22 '12 at 12:29

chilkat's gravatar image

chilkat ♦♦

Your application would call the imap.Search method, passing a search criteria that specifies a UID range. For example:

messageSet = imap.Search("UID 83:*", 1) 
See http://www.chilkatsoft.com/p/p_379.asp for more information.

The message set object can returned by the Search method can then be passed to a method for downloading, such as FetchBundle, FetchBundleAsMime, FetchHeaders, etc.


answered Oct 22 '12 at 12:31

chilkat's gravatar image

chilkat ♦♦

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported



Asked: Oct 22 '12 at 12:29

Seen: 2,919 times

Last updated: Oct 22 '12 at 12:31

powered by OSQA