Re: E-mail Gateway
| From: | Henrik Hudson | Date: | Tue, 18 Nov 2003 07:19:24 +0000 |
| Subject: | Re: E-mail Gateway | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-170065@lists.php.net to get a copy of this message | ||
On Tuesday 18 November 2003 01:21,
"Jason Williard" <jason@janix.net> sent a missive stating:
> 1) Use a cron job to execute a php script every x minutes.
> 2) Create a script where mail can be piped to. This is a method that I
> have used previously with a cgi app called PerlDesk.
>
> While I could develop the first option, the second option is the method
> of choice, but I have no clue how to implement that. Would anyone
> happen to have any suggestions on where to start? Perhaps, someplace
> where I could go for further research?
Although you could use CLI PHP for this, I would use Perl or even better, C.
PHP is really meant to run via a web browser and what you're talking about is
all backend code. Look into playing with procmail and Perl or C.
Henrik
--
Henrik Hudson
listsNO@SPAMrhavenn.net
"`If there's anything more important than my ego
around, I want it caught and shot now.'"
--Hitchhikers Guide to the Galaxy