[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Phpgroupware-developers] New features in Mail app
From: |
Patrick J. Walsh |
Subject: |
Re: [Phpgroupware-developers] New features in Mail app |
Date: |
Tue, 20 Nov 2001 14:55:15 -0800 |
My feeling is that you should do this in two stages. First create an
advanced filtering capability similar to that done by maildrop
(http://www.flounder.net/~mrsam/maildrop/maildropfilter.html). This
essentially allows the user to use any regexp expression on any of the
headers and optionally on the content as well. There are basic commands for
if statements here as well. Then there is a set of actions that allow you
to specify where to move the message, copy the message, who to forward it
to, etc. Maildrop allows the use of databases to track mail, log files, and
unlimited piping to external commands. I don't think any of this is
appropriate in phpgw unless the piping is to another phpgw app.
The second step would be to create a dummy interface similar to the
Outlook filters where natural language options would mask the creation of
filters. For example:
Dummy filter says:
Apply this rule _after_ the message arrives
Where _somebody_ is in the To or Cc box
Forward a copy to address@hidden and
Move it to _Special Folder_
Advanced regexp says:
If (/^(To|Cc): .*somebody/)
{
cc address@hidden
to SpecialFolder
}
You will need to write something to handle nested if/else statements,
but otherwise it should be fairly easy. I wouldn't write a language that
parses statements like:
if "to" contains "somebody" then blah blah
..Patrick (mr_e)
- Re: [Phpgroupware-developers] New features in Mail app, (continued)
- RE: [Phpgroupware-developers] New features in Mail app, Spot, 2001/11/20
- RE: [Phpgroupware-developers] New features in Mail app, Spot, 2001/11/20
- Re: [Phpgroupware-developers] New features in Mail app, Tony (Angles) Puglisi, 2001/11/20
- Re: [Phpgroupware-developers] New features in Mail app, Lars Kneschke, 2001/11/20
- Re: [Phpgroupware-developers] New features in Mail app, Ryan Waldron, 2001/11/20
- Re: [Phpgroupware-developers] New features in Mail app, Tarjei Huse, 2001/11/20
- Re: [Phpgroupware-developers] New features in Mail app,
Patrick J. Walsh <=
- [Phpgroupware-developers] Typo in email/index.php from this morning, Ryan Waldron, 2001/11/21
- Re: [Phpgroupware-developers] New features in Mail app, Dan Kuykendall (Seek3r), 2001/11/21
- [Phpgroupware-developers] Translations, Roy Sigurd Karlsbakk, 2001/11/23
- [Phpgroupware-developers] LDAP contacts, Miles Lott, 2001/11/23
RE: [Phpgroupware-developers] New features in Mail app, Spot, 2001/11/20
RE: [Phpgroupware-developers] New features in Mail app, Chris Weiss, 2001/11/20
Re: [Phpgroupware-developers] New features in Mail app, Sam Przyswa, 2001/11/21
RE: [Phpgroupware-developers] New features in Mail app, Angles Puglisi, 2001/11/21