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 <[email protected]> wrote:
> Have you tried using the Email Component?
>
> http://api.cakephp.org/class/email-component
>
> On Feb 8, 9: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
> > echomail( '[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
-~----------~----~----~----~------~----~------~--~---

Reply via email to