Hi All,

I have followed the guide on the Cake Bakery using the the SwiftMailer
component:

http://bakery.cakephp.org/articles/rajibahmed/2011/02/23/cakephp_swiftmailer4_x_x_component_with_batch_send

I have followed the instructions but keep getting 'failed to send
email: SwiftMailer was not included, check the path and filename'. I
am aware that the CakePHP 2.0 has changed the Class Loading syntax as
indicated in the migration guide but I am having no success. I have
amended the following line in /app/Controllers/Components/
SwiftMailerComponent.php as per CakePHP 2.0.5 requirements:
App::uses('Swift', array('file' => 'lib'.DS.'swift_required.php',
'Vendor'));
The location of the Swift Library is /app/Vendor/Swift/lib/
swift_required.php.

Any help would be highly appreciated.

Thanks,

Craig

-- 
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