Version 1, last updated by Marcin Domanski at June 19, 2008 11:19 UTC

Swift Email Component is an Email component using the great SwiftMailer library. It was created cause i needed support for different SMTP authorization methods for a project and higher speed. It's a drop-in replacement, the only needed things are to add it to your controller and add this little bit of code in your AppController::beforeFilter :

` if(!empty($this->SwiftEmail)){

$this->Email = $this->SwiftEmail;

} `

all exisitnig code using the build in EmailComponent should work.

You can choose the authorization type by setting SwiftEmail::smtpOptions['type'] to ssl, tls or open(default).