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
How this works is: send an email to [EMAIL PROTECTE
"Josh G" <[EMAIL PROTECTED]> wrote:
> Depends on your mailserver. Most mail servers can redirect incoming
> mail to a program, I know sendmail can. In your case just make the first
> line of your script #!/path/to/php/bin/php and that should do the trick.
To actually read from the message piped t
Friday, February 02, 2001 10:53 AM
Subject: Re: [PHP] Automatic incoming mail notification
> Depends on your mailserver. Most mail servers can redirect incoming
> mail to a program, I know sendmail can. In your case just make the first
> line of your script #!/path/to/php/bin/php and th
On Fri, 2 Feb 2001 15:53, Josh G wrote:
> Depends on your mailserver. Most mail servers can redirect incoming
> mail to a program, I know sendmail can. In your case just make the first
> line of your script #!/path/to/php/bin/php and that should do the trick.
>
> Sorry I don't know how to make se
Depends on your mailserver. Most mail servers can redirect incoming
mail to a program, I know sendmail can. In your case just make the first
line of your script #!/path/to/php/bin/php and that should do the trick.
Sorry I don't know how to make sendmail do it, only that you can.
Check the man pag
5 matches
Mail list logo