Community Discussions and Support
Wrong date sorting when downloading mail using IMAP

[quote user="Rolf Lindby"]

There are a number of different ways to time sort email messages, so there isn't a single correct way to do it. The basic IMAP protocol doesn't include sorting, but there is an extension that allows it. At this time IMAP SORT isn't available in Mercury though, so it's up to the client to perform all sorting. 

[/quote]

Unfortunately our webmai client does not support sorting: it simply list on user's webpage all mail messages as they are received.

I thought that message's filenames was appended in the "_INBOX_.PNM" file neatly one after the other, and i was surprised to find all mixed.

ALex. 

[quote user="Rolf Lindby"]<p>There are a number of different ways to time sort email messages, so there isn't a single correct way to do it. The basic IMAP protocol doesn't include sorting, but there is an extension that allows it. At this time IMAP SORT isn't available in Mercury though, so it's up to the client to perform all sorting.<span style="font-size: 10pt;"> </span></p><p>[/quote]</p><p>Unfortunately our webmai client does not support sorting: it simply list on user's webpage all mail messages as they are received.</p><p>I thought that message's filenames was appended in the<span style="font-family: Tahoma, Arial, Helvetica; font-size: 12.0959997177124px;"> "</span><span style="font-size: 13.3333330154419px; font-family: Tahoma, Arial, Helvetica;">_INBOX_.PNM" file neatly one after the other, and i was surprised to find all mixed.</span></p><p>ALex. </p>

Testing a webmail client (on IMAP4), i noticed that all users's email was collected and displayed in a date/time random order.

After an investigation on Mercury/32, i saw that the strange sorting reported by our IMAP web client followed sorting of the list of .CNM files listed in _INBOX_.PNM file, that are not listed in the correct date/time sequence.  :(

Why "_INBOX_.PNM" file does not contains the file list in correct date/time order ? It would be possible to fix this strange behavior ?

ALex. 

<p>Testing a webmail client (on IMAP4), i noticed that all users's email was collected and displayed in a date/time random order.</p><p>After an investigation on Mercury/32, i saw that the strange sorting reported by our IMAP web client followed sorting of the list of .CNM files listed in _INBOX_.PNM file, that are not listed in the correct date/time sequence.<span style="font-size: 10pt;">  :(</span></p><p>Why "<span style="font-size: 13.3333330154419px;">_INBOX_.PNM"</span><span style="font-size: 10pt;"> file does not contains the file list in correct date/time order ? It would be possible to fix this strange </span>behavior ?</p><p><span style="font-size: 10pt;">ALex. </span></p>

There are a number of different ways to time sort email messages, so there isn't a single correct way to do it. The basic IMAP protocol doesn't include sorting, but there is an extension that allows it. At this time IMAP SORT isn't available in Mercury though, so it's up to the client to perform all sorting. 

<p>There are a number of different ways to time sort email messages, so there isn't a single correct way to do it. The basic IMAP protocol doesn't include sorting, but there is an extension that allows it. At this time IMAP SORT isn't available in Mercury though, so it's up to the client to perform all sorting.<span style="font-size: 10pt;"> </span></p>
live preview
enter atleast 10 characters
WARNING: You mentioned %MENTIONS%, but they cannot see this message and will not be notified
Saving...
Saved
With selected deselect posts show selected posts
All posts under this topic will be deleted ?
Pending draft ... Click to resume editing
Discard draft