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
*/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to