On Sun, Feb 8, 2009 at 11:04 PM, peterhf <peter.f...@sbcglobal.net> 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 echo $result, I get a "1". > > I have tried commenting out the redirect and exit code to no avail. I > have tested the host email capability with this code: > > <?php > echo mail( 'peter.f...@sbcglobal.net', 'TEST', 'TEST'); > ?> > > and it works. > > What am I missing?
What error message do you have? Best regards. -- MARCELO DE F. ANDRADE (aka "eleKtron") Belem, PA, Amazonia, Brazil Linux User #221105 [...@parĂ¡ ~]# links http://pa.slackwarebrasil.org/ For Libby's backstory be told on Lost http://www.petitiononline.com/libby423/petition.html --~--~---------~--~----~------------~-------~--~----~ 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 unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---