Re: Sending mail directly to php
| From: | Michael von Minden | Date: | Tue, 05 Apr 2005 15:02:01 +0000 |
| Subject: | Re: Sending mail directly to php | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-212264@lists.php.net to get a copy of this message | ||
Hi!
You could create a shell php script that listens on port 25 and does
what eg sendmail does... imho this would not be a good solution.
A better solution would be to use procmail to feed the mail to your
script after it was accepted by the mailserver.
cheers
ÞilvinasÐaltys wrote:
> I have to create a script that could parse attachments that come from another
> server by mail. I could use crontab & pear pop to do the job. But maybe
> someone knows if it is possible to configure my server in such way that it
> could send mail attachments directly to my php script.