[imp] adding URLs to notification messages

Liam Hoekenga liamr at deathstar.org
Mon Jan 8 08:05:52 PST 2007


This is is sort of a  continuation of my question about the notification 
system from last week.

We've found that we loose a lot of store on our IMAP servers to people 
who don't empty their trash or spam folders.   We're investigating 
rolling out the purge_trash and purge_spam maintenance rules and the 
"Empty Trash / Spam" menu icons, but we'd also like popup reminders when 
people log in - so if things exceed whatever limits we set between 
maintenance periods, we can let our users know.

To that end, we'd like to have a message like...

"Do you know you've got 400 messages in your spam folder?  _Click here_ 
to empty it now!" 

The notification system  sanitizes the text you put into it, so instead, 
we're getting..

    Did you know that you have 75 messages in your trash folder?
        <a 
href="/horde/imp/mailbox.php?mailbox=Trash&amp;actionID=empty_mailbox">Click 
here</a>

Is there any way to embed a URL in the next used by the notification 
system?   We could fake it, and create a notification-looking pop w/o 
using notification, but I'd rather not if we don't have to.

Liam


More information about the imp mailing list