Re: PHP mail() function not working in 1.1.19.6305

2009-02-09 Thread peterhf
Thank you all for your consideration and especially you, Gonzalo, for this solution to my problem. I do not have access to php.ini as it is on the hosting server. In addition, as I stated in my original post, a "plain vanilla" PHP file containing a call to the mail function works. I have decided

Re: PHP mail() function not working in 1.1.19.6305

2009-02-09 Thread Gonzalo Servat
On Mon, Feb 9, 2009 at 2:58 PM, peterhf wrote: > > > Why not update to 1.2? > > This is plan B, the client doesn't want to upgrade at this time. > > > What error message do you have? > > None! And debug is set to 3. > This might actually be related to the sendmail wrapper (provided the mail func

Re: PHP mail() function not working in 1.1.19.6305

2009-02-09 Thread peterhf
> Why not update to 1.2? This is plan B, the client doesn't want to upgrade at this time. > What error message do you have? None! And debug is set to 3. On Feb 9, 7:10 am, Marcelo Andrade wrote: > On Sun, Feb 8, 2009 at 11:04 PM, peterhf wrote: > > > This code is not working: > > >    $resul

Re: PHP mail() function not working in 1.1.19.6305

2009-02-09 Thread Marcelo Andrade
On Sun, Feb 8, 2009 at 11:04 PM, peterhf wrote: > > This code is not working: > >$result = mail('peter.f...@sbcglobal.net', 'This is a test.', > 'This is a test.', 'From: peter.f...@sbcglobal.net' ); > >// Show the login page. >$this->redirect( '/pages/home' ); >exit(); > > If I e

Re: PHP mail() function not working in 1.1.19.6305

2009-02-09 Thread Miles J
Why not update to 1.2? Or check your cake lib files to see if email exists. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscrib

Re: PHP mail() function not working in 1.1.19.6305

2009-02-08 Thread peterhf
I'm using 1.1.19.x, I don't think that the Email Component is available in this version. Peter - On Feb 8, 7:09 pm, Kyle Decot wrote: > Have you tried using the Email Component? > > http://api.cakephp.org/class/email-component > > On Feb 8, 9:04 pm, peterhf wrote: > > > This code is not workin

Re: PHP mail() function not working in 1.1.19.6305

2009-02-08 Thread Kyle Decot
Have you tried using the Email Component? http://api.cakephp.org/class/email-component On Feb 8, 9:04 pm, peterhf wrote: > This code is not working: > >     $result = mail('peter.f...@sbcglobal.net', 'This is a test.', > 'This is a test.', 'From: peter.f...@sbcglobal.net' ); > >     // Show the

PHP mail() function not working in 1.1.19.6305

2009-02-08 Thread peterhf
This code is not working: $result = mail('peter.f...@sbcglobal.net', 'This is a test.', 'This is a test.', 'From: peter.f...@sbcglobal.net' ); // Show the login page. $this->redirect( '/pages/home' ); exit(); If I echo $result, I get a "1". I have tried commenting out the redir