hi. i´ve the same problem in version 1.2.0.4451 (svn-head!). i created
the layouts in the layouts/email folder.
is it a bug?!

thanks. cheers.


On 19 Mrz., 19:27, "djiize" <[EMAIL PROTECTED]> wrote:
> did you create proper layouts in /app/views/layouts/email/ ?
> seehttp://bakery.cakephp.org/articles/view/203for more info
>
> On 19 mar, 18:44, "Gilles Dubois" <[EMAIL PROTECTED]> wrote:
>
> > CakePHP version 1.2.0.4451alpha
>
> > When calling the ->send() method on a EmailComponent object, CakePHP
> > try to used a unnamed layout. This generate an error. Here's a sample
> > code from me showing my use of thiscomponent:
>
> > $this->Email->to = $aTask['Owner']['email'];
> > $this->Email->from = $this->Session->read('Uzer.email');
> > $this->Email->cc[] = $this->Session->read('Uzer.email');
> > $this->Email->subject = 'something';
> > $this->Email->body = 'something';
> > $this->Email->send();
>
> > Is it due to a mistake I made or to a bug ?


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
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