On May 25, 6:55 pm, "fungied.cheese" <[email protected]> wrote:

> Where do I insert:
> $this->Invoice->id:mail('[email protected]', 'New order', 'Invoice id is: ' .
> $this->Invoice->id);

Inside the controller action - in your case it would be in the
function index().

Try to go through the Blog tutorial (http://book.cakephp.org/view/219/
Blog) - it gives you a good understanding of how the different parts
of Cake work together.

  Regards

    Jonathan

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