RE: [PHP] Re: automatic responder
| From: | Michael Sims | Date: | Sat, 27 Nov 2004 03:12:29 +0000 |
| Subject: | RE: [PHP] Re: automatic responder | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-202925@lists.php.net to get a copy of this message | ||
Matthew Weier O'Phinney wrote:
> * Manuel Lemos <mlemos@acm.org>:
>> On 11/26/2004 03:58 PM, Alessandro Rosa wrote:
>>> How about coding an automatic responder via PHP ?
>>
>> The most portable solution is to have a POP3 mailbox associated with
>> the e-mail address to which the messages are received and use a POP3
>> client to access and process the message replying to it if that is
>> the case.
>
> or IMAP... or use something like procmail or maildrop to pipe an
> incoming message to a PHP script that then processes and responds to
> it (my preferred method).
Or if using sendmail alias an address to a php script:
username: "|/usr/local/bin/your_script.php"
I'm sure other MTA's support this as well...