login about faq
  1. I know that I need to use the below code to search the email based on criteria.

messageSet = imap.Search(SearchCriteria, fetchUids)

bundle = imap.FetchHeaders(messageSet)

  1. And I also know that I need to use below code to load the specified no of email.

bundle = imap.FetchSequenceHeaders(startseq, numtofetch)

Here I want to combine 1 and 2 together. Means I want read the specified no of Email based on the above searching criteria. How can I do that?

asked Jun 11 '12 at 12:10

Cho%20lai's gravatar image

Cho lai

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: Jun 11 '12 at 12:10

Seen: 1,417 times

Last updated: Jun 11 '12 at 12:40

powered by OSQA