faqts : Computers : Programming : Languages : PHP : Common Problems : Tips and Tricks

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

17 of 22 people (77%) answered Yes
Recently 6 of 10 people (60%) answered Yes

Entry

How can I create an email autoresponder using PHP?

Sep 21st, 1999 20:55
Nathan Wallace, Nathan Wallace


You'd probably do best to use a program called procmail.

    http://www.procmail.org

Using procmail you can set up filters to run when mail is received. 
That filter might be the execution of a perl or php script (the mail is
just sent to stdin).

In fact, procmail can do autoresponding anyway, see:

    man 5 procmailex

for some examples.

You may well find that procmail is already installed on your system...