Re: mail filtering ... procmail + php query
| From: | Jason Wong | Date: | Sat, 28 Aug 2004 11:42:59 +0000 |
| Subject: | Re: mail filtering ... procmail + php query | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-194999@lists.php.net to get a copy of this message | ||
On Saturday 28 August 2004 18:36, vivek athalye wrote:
> after looking at the imap functions...i was wondering how the mail
> filtering works... afaik procmail does that...
If by filtering you mean imap_search() then that works in a completely
different way to procmail.
> but is there any std way /
> php functions to set the filters? i know the filtering depends on mail
> server...but if we assume that it is done using procmail... is it somehow
> possible to write some php code that will take the input from user and
> generate the .procmailrc file?
procmail recipes are simply plaint text files. Just use php's file handling
functions to read and write them.
--
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
------------------------------------------
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-general
------------------------------------------
/*
The only function of economic forecasting is to make astrology look
respectable.
-- John Kenneth Galbraith
*/