yes, now it works!! seems it was a bug in the email component. thanks!

On 25 Mrz., 18:15, "Gilles Dubois" <[EMAIL PROTECTED]>
wrote:
> I followed the indications of 
> articlehttp://bakery.cakephp.org/articles/view/203
> and now, it's Ok. Thank you.
>
> On 19 mar, 20:27, "djiize" <[EMAIL PROTECTED]> wrote:
>
> > did you create proper layouts in /app/views/layouts/email/ ?
> > seehttp://bakery.cakephp.org/articles/view/203formore 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 this component :
>
> > > $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 [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