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 <kdec...@gmail.com> wrote:
> Have you tried using the Email Component?
>
> http://api.cakephp.org/class/email-component
>
> On Feb 8, 9: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
> > echomail( 'peter.f...@sbcglobal.net', '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 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to