Re: Automatic incoming mail notification
| From: | Nicolas Windpassinger - Sun | Date: | Fri, 02 Feb 2001 09:12:28 +0000 |
| Subject: | Re: Automatic incoming mail notification | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-37802@lists.php.net to get a copy of this message | ||
Hi guys,
ok I have had the same problem,
what you need to do, If i correctly understood,
is go in the /etc/mail/aliases file,
then write there:
you: "| /path/to/your/script.php"
and your script will begin by:
#!/path/to/php/as/a/shell
<?
etc.....
?>
How this works is: send an email to you@name.of.your.machine
then this mail will be piped into your script.php
et voila !!
take care,
have fun,
take php,
nicolas.