Hastymail2 |
Hastymail2 is an Open Source IMAP webmail client written in PHP. Our focus is compliance, usability, security, and speed. |
Over the years one of the most requested features for Hastymail has been to filter messages from the INBOX to other folders based on a string being present in the message. I have always believed that filtering is best handled on the delivery of messages to a mailbox but there are situations in which server side filtering is just not an option. Since we now have a plugin API I thought this would be both a nice addition as well as a good work out for the plugin system. It took about 3 hours to put together and so far is functional but needs a few more features and some more testing. It will be included in the next RC release (which should be soon). Here is the README file for the plugin from SVN:
Message filters plugin
This plugin provides the ability to move messages to other folders based
on a set of filter rules. This is the first version and there are more features
in the works but so far the plugin provides:
- A filter management page where users can add/edit/delete filter rules and
manage filter options. It can be accessed from the mailbox options
section of the options page.
- There are 2 options a user can set on the management page:
- Auto filter the INBOX whenever it is selected
- Show a link to the filter management page on the main Hastymail2 menu
- Filters can be applied to any folder using the "FIlter" button in the message
controls of the mailbox page.
I hope to expand the plugin with more features specifically the ability to
make more flexible filter rules such as flagging a message rather than moving it,
and the ability to rearrange the order in which the filters are executed (currently
they execute first to last as listed on the filter management page)
Suggestions and feedback welcome,
Jason Munro
| No Images with this post |