Jonathan Feally wrote:
Triggers do sound interesting, however i'd rather see the effort put into server-side filters for sorting purposes then special execution of other applications.
I agree with that, I'm not in a hurry just asking for feedback. Any info and ideas concering this trigger mechanism are appreciated.
As far as getting what your want done, I would suggest using a script driven via cron every half hour or so.
Yes, I know of such a possibility but there's always the chance, that the user deletes the mails before the cron shedule. And you would need another special folder for false positives. Cron+scripts is an ugly workaround, IMHO.
Thanks for the code anyway, Alex