On Sun, Feb 8, 2009 at 11:04 PM, peterhf <[email protected]> wrote:
>
> This code is not working:
>
>    $result = mail('[email protected]', 'This is a test.',
> 'This is a test.', 'From: [email protected]' );
>
>    // 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( '[email protected]', '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 [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to