login about faq

I have been using Chilkat IMAP component to read e-mails but lately I made a chance to the software. Before I used

bundle=imap.FetchBundle(messageSet);

And I replaced it with

bundle = imap.FetchHeaders(messageSet);

But the problem is that now headers are in different order. I added

bundle.SortByDate(true);

Now most of headers are in same order than in Lotus Notes but a few are in different order.

I think this is mostly Domino problem, FetchHeaders returns messages where IMAP UID:s aren't always in sequence. I solved this problem by sorting headers vy UID.

asked Feb 01 at 08:04

seismo's gravatar image

seismo
1


Chilkat is not re-ordering the messages it receives in any way...

link

answered Feb 01 at 08:28

chilkat's gravatar image

chilkat ♦♦
11.8k316358421

Yes, I thought so. It seems that Domino IMAP is broken, Thunderbird shows messages in same order than Chilkat FetchHeaders does, FetchBundle and LotusNotes in same order. These orders are not same.

How Does Bunde.SortByDate work and it might be good thing to add SortByUid (but this is just domino specific as SortByDate should work that way).

link

answered Feb 01 at 08:37

seismo's gravatar image

seismo
1

Your answer
toggle preview

Follow this question

By Email:

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

By RSS:

Answers

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

Tags:

×4

Asked: Feb 01 at 08:04

Seen: 450 times

Last updated: Feb 01 at 08:37

powered by OSQA