I found the problem, when i create the CakeEmail  object i have to do
in this way:

$email = new CakeEmail('default');

if not it doesnt includes the php file, but isnt that a bug? why i
have to specify default if i have it on my email.php?



On 9 ene, 20:58, Arnold <[email protected]> wrote:
> Well thats all the code, is a very simple setup.
>
> Why my Config/email.php isnt loaded? i put a die on the top but is
> never executed, i check the CakeEmail.php from core but i was unable
> to find any line to load email.php, what should load it?
>
>                         $email = new CakeEmail();                       
> $email->from(array('[email protected]' => 'test'))                         
>       ->to($data['User']
>
> ['email'])                              ->subject('Welcome!')                 
>                ->send('Please log in with your
> new credentials');
> On 9 ene, 08:28, majna <[email protected]> wrote:
>
>
>
>
>
>
>
> > could you paste more code?

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to