R: [PHP] Can a PHP program recieve an e-mail and write it to a file???
| From: | (Delbono) | Date: | Fri, 19 Jan 2001 00:12:29 +0000 |
| Subject: | R: [PHP] Can a PHP program recieve an e-mail and write it to a file??? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-35520@lists.php.net to get a copy of this message | ||
It depends on your MAIL SERVER (and on your OS.)
For Linux I think SendMail can forward mails to an external program
For WinNT I know POSTOFFICE allows this. But PostOffice is commercially
released not for free.
In this case the mails are redirected to the program via STDIN
Bye
N.
-----Messaggio originale-----
Da: Jeremy Bowen <ocarules@webnationinc.com>
A: php-general@lists.php.net <php-general@lists.php.net>
Data: giovedì 18 gennaio 2001 20.32
Oggetto: [PHP] Can a PHP program recieve an e-mail and write it to a file???
>Hey,
>
>Here is what I need to do, I need to have a PHP script recieve an e-mail
and
>write it to a file after erasing whatever was in the file before.
>
>I suppose that it should have some sort of authentication built in to
prevent
>people from e-mailing PHP code that could be processed and do bad things.
>
>Is there any way to do this? Can a PHP script recieve and e-mail?
>
>Could the e-mail be written to a mail queue say
php-email-processor@domain.com
>and the script periodically check the mail queue for new e-mail print its
>contents to a text file somewhere in the serverroot and then erase the mail
>queue???
>
>Does this sound possibile???
>
>Thanks,
>
>Jeremy
>
>--
>PHP General Mailing List (http://www.php.net/)
>To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
>For additional commands, e-mail: php-general-help@lists.php.net
>To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
>