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?
Peter -
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---