Kevin, et al --

...and then Kevin Stone said...
% 
% I need a solution to activate a PHP script when somebody sends an email to a
% specified account.  I've looked into procmail and sork and find that I am in

I won't go into procmail propaganda except to say that it isn't as hard
as it looks -- or as most people make it out to be.

I can't think of an MTA that doesn't have a forwarding method (.forward
or .qmail, with exim and postfix perhaps having something else but they
all work the same way).  Set up mail forwarding so that a copy goes to
your PHP script, or a wrapper script that does something with the message
and then calls your real script.  No need for cron jobs and polling.  [If
you want, you can also store a copy of the email by providing a second
target in the forward file).


HTH & HAND & Happy Holidays

:-D
-- 
David T-G                      * There is too much animal courage in 
(play) [EMAIL PROTECTED] * society and not sufficient moral courage.
(work) [EMAIL PROTECTED]  -- Mary Baker Eddy, "Science and Health"
http://www.justpickone.org/davidtg/    Shpx gur Pbzzhavpngvbaf Qrprapl Npg!

Attachment: msg89969/pgp00000.pgp
Description: PGP signature

Reply via email to