>> When I have deleted mails via Outlook, the next time I go into
>> SquirrelMail the "total" number for that folder is not zero, but
>> the number of emails deleted via outlook. This figure remains until
>> I view the folder in question and then click on "Check Mail".

fj> When you click "Check Mail" in SquirrelMail the messages marked
fj> for deletion is "found" and expunged thanks to the default setting
fj> in SquirrelMail ("Auto Expunge").

I believe that's correct.  In the left frame folders list, SM 1.4.4
displays the total number of messages and the number of unseen
messages without considering if any messages have been deleted.  I
imagine it was done that way because the implementation path is pretty
easy.  It uses the IMAP STATUS command which lets you ask about those
things but, alas, not about deleted messages.

I think that's kind of unforunate behavior because most users are not
going to think of it as a feature to be able to "undelete" messages
this way in SM (especially if auto-expunge is turned on).  They get
that feature by having a Trash box and using it.  Under those
circumstances, a user won't think about deleted messages in a folder
when considering its contents.  All it adds is confusion.

To get the number of deleted messages in a folder, you would probably
use FETCH to get the message flags (for all messages) and add them up
yourself.  Depending on your IMAP server, the cost of doing FETCH
might be the same or more expensive than STATUS, though the response
size for FETCH will always be larger (a response line per message).
-- 
[EMAIL PROTECTED] (WJCarpenter)    PGP 0x91865119
38 95 1B 69 C9 C6 3D 25    73 46 32 04 69 D6 ED F3



-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.
Get your fingers limbered up and give it your best shot. 4 great events, 4
opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20
--
squirrelmail-users mailing list
Posting Guidelines: 
http://squirrelmail.org/wiki/wiki.php?MailingListPostingGuidelines
List Address: [email protected]
List Archives: 
http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.user
List Archives:  http://sourceforge.net/mailarchive/forum.php?forum_id=2995
List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users

Reply via email to