2) In a box somewhere on the page will be a list of all the accounts, and the number of new messages waiting.

In order to get this info from the IMAP server, you have to be logged in. If you have that info for four accts on the same page, that probably means you'd need to cache username/pwd pairs somewhere that is accessible to that web page, which might not be too great, but since it is a pwd protected page, it could be OK. You'd have to code it yourself, and you can simply go into the SM core and steal the code yourself. The other option is, depending on how you structured your mailstore, you can query it out of the backend yourself. For instance, if you have maildir setup, you could just have a suid script (also may not be optimal security-wise) that does a count of the number of files in the new maildir.




-------------------------------------------------------
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