Re: [PHP] Automatic incoming mail notification

2001-02-02 Thread Nicolas Windpassinger - Sun
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

Re: [PHP] Automatic incoming mail notification

2001-02-01 Thread Steve Werby
"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

Re: [PHP] Automatic incoming mail notification

2001-02-01 Thread Ankur Verma
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

Re: [PHP] Automatic incoming mail notification

2001-02-01 Thread David Robley
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

Re: [PHP] Automatic incoming mail notification

2001-02-01 Thread Josh G
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