RE: [PHP] Pipe an email to PHP

2003-08-30 Thread Thomas Tremain
I resolved my problem several days later, and I thought I might post it for those that come up behind me. I had several blank lines in my .php file after the closing ?> This caused an output of the script (even though I could not see it) which generated the failure notice within Exim. Thomas

RE: [PHP] Pipe an email to PHP

2003-08-27 Thread Thomas Tremain
I am actually real close now... Thanks to your help. The email pipes to the PHP, and I get an email response from PHP so I can look at output. However, I still get a non-delivery message at the same time: == This message was created automatically by mail delivery sof

Re: [PHP] Pipe an email to PHP

2003-08-27 Thread Marek Kilimajer
Is emailtest.php executable, does it start with #!/usr/bin/php, is $HOME set? Thomas Tremain wrote: I have attempted to create a .procmailrc that looks like: :0 * [EMAIL PROTECTED] | $HOME/emailtest.php I have also removed the forwarder from my /etc/valiases file. Now I get: The following add

Re: [PHP] Pipe an email to PHP

2003-08-27 Thread David T-G
Thomas -- ...and then Thomas Tremain said... % % I'm sure this question has been visited before, but I've had some troubles % searching through % the archives. What sort of trouble? Just trouble finding a helpful answer, or actual trouble performing a search? % % This is at least a two pa

RE: [PHP] Pipe an email to PHP

2003-08-27 Thread Thomas Tremain
I have attempted to create a .procmailrc that looks like: :0 * [EMAIL PROTECTED] | $HOME/emailtest.php I have also removed the forwarder from my /etc/valiases file. Now I get: The following address(es) failed: [EMAIL PROTECTED] Can I be sure Procmail is even handling my email? I thought Exim

Re: [PHP] Pipe an email to PHP

2003-08-27 Thread Greg Donald
> > I'm sure this question has been visited before, but I've had some troubles > searching through > the archives. > > This is at least a two part question. > > I wish to use a pipe instead of the pop3 class, because I wish the email to > start the script > instead of waiting for a cronjob

[PHP] Pipe an email to PHP

2003-08-26 Thread Thomas Tremain
I'm sure this question has been visited before, but I've had some troubles searching through the archives. This is at least a two part question. I wish to use a pipe instead of the pop3 class, because I wish the email to start the script instead of waiting for a cronjob. 1) The pipe itse