Config\email.php isnt loaded
Hi, im following the instructions on book.
I added this on bootstrap.php:
App::uses('CakeEmail', 'Network/Email');
i rename the email.php.default to email.php and setup a gmail
connection (Exactly as the book suggest).
I set it in $default.
Next i try to send a mail but im receiving this error:
Errors
Could not send email.
Error: An Internal Error Has Occurred.
Stack Trace
#0 C:\Users\Arnold\Documents\dev\tutor\trunk\lib\Cake\Network\Email
\CakeEmail.php(966): MailTransport->send(Object(CakeEmail))
It seems like if they wasnt load my transport config, so i try adding
die("TEST") on top of email.php but my script doesnt died, is like the
cake config is not included
this file is suppose to be automatically included? what includes it?
cause isnt working for me..
--
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
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php

0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home