Sounds like you've got a problem with the naming of your models and
components. If you are using the EmailComponent to send mails, you
need to use $this->Email->send() in your controller. However, if your
controller has a model called Email, then $this->Email will be the
model instead of the component (arguably a design flaw in cake, but
we'll let it slide :) ).

The easiest solution (given that the component is part of base 1.2)
would be to assume that Email is a reserved name when created Models,
and change the name of you model to EmailTemplate or something like
that.

simon


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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