Re: A plugin or patch to hide read messages?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Mar 1, 2012 at 12:48 PM, Jari Fredriksson <jarif@xxxxxx> wrote:
>
> I tend to collect old email to my IMAP-server, and would like normally
> see them, when I browse for new mail.
>
> Email apps usually have a feature to hide read mail from screen, but I
> have not found such from SM... I'm using 1.4.21 from Debian repo.
>
> Is there something out there to get this functionality?

The short answer is no.

You can find the following around about line 160 in functions/imap_messages.php:

$query = "SEARCH UID 1:$uidnext";

You could change it to:

$query = "SEARCH UNSEEN UID 1:$uidnext";

Which forces the message list to only show unread messages, but this
is far from complete - you can't switch easily back and forth, it
creates numerous problems with the messages cache and pagination code,
you'd also want to do it for the other sort types on the page as well
as the search page, and follow up on any other PHP or other issues it
causes.  None of this is to say it cannot be done, but the design
currently isn't too flexible in this regard.

-- 
Paul Lesniewski
SquirrelMail Team
Please support Open Source Software by donating to SquirrelMail!
http://squirrelmail.org/donate_paul_lesniewski.php

------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
-----
squirrelmail-users mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: squirrelmail-users@xxxxxxxxxxxxxxxxxxxxx
List archives: http://news.gmane.org/gmane.mail.squirrelmail.user
List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-users


[Index of Archives]     [Video For Linux]     [Yosemite News]     [Yosemite Photos]     [gtk]     [KDE]     [Cyrus SASL]     [Gimp on Windows]     [Steve's Art]     [Webcams]

  Powered by Linux