News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

The Bakery Blog:
SwiftMailer Component Tutorial
December 19, 2006 @ 17:19:00

On The Bakery (the CakePHP blog) today, there's a new tutorial covering the SwiftMailer Component:

I would still advise you read the Swift Mailer documentation here: http://www.swiftmailer.org/docs/ SwiftMailer Component isn't an attempt to hide the already excellent class written by Chris Corbyn. Rather, the component tries to integrate and extend it (read, Cake-ish!).

They walk through the installation and where to unpack the download to ensure it works with your installation of CakePHP. You'll need to add the component to the main controller, but other than that, you're ready to go. From there it's configuration issues:

  • connecting to the local MTA (like sendmail or a SMTP server)
  • configuring the authentication for sending
  • and, of course, creating a message to go out
They demonstrate the creation of this through a view in the application that can natively send both HTML and plain-text emails.

0 comments voice your opinion now!
bakery cakephp tutorial swiftmailer component email bakery cakephp tutorial swiftmailer component email


blog comments powered by Disqus

Similar Posts

Suresh Ariya: Integrate Zend Framework into CakePHP application

Court Ewing's Blog: Organize Your Project like a Pro with PHP Namespaces

Chris Hartjes' Blog: The Story and Rebirth Of Zend_Service_Audioscrobbler, Part 1

PHPBuilder.com: Using SPL Iterators in PHP to Interact with Different Data Types

WaxJelly Blog: How to write a custom Smarty function in PHP


Community Events

Don't see your event here?
Let us know!


install podcast introduction example language release unittest interview framework library opinion community laravel5 xdebug extension voicesoftheelephpant laravel api series php7

All content copyright, 2015 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework