= sfSwift plugin =

The `sfSwiftPlugin` is a symfony plugin that provides e-mail sending capabilities through the use of the SwiftMailer Library http://www.swiftmailer.org/.

This is only an abstraction to provide autoloading to the library.


== Installation ==

  * Install the plugin
  
  {{{
    symfony plugin-install http://plugins.symfony-project.com/sfSwiftPlugin
  }}}

=== Usage ===

There is an included module called `sfSwiftMailer` that has a test emailing called `ThankYou` which you can use as an example for using the library.

Also be sure to review the docs at http://www.swiftmailer.org/docs/

Note: use the following to autoload the needed files

  {{{
    $mailer = new sfSwiftPlugin(...);
  }}}

instead of 
  {{{
    $mailer = new Swift(...);
  }}}

Enjoy!

== Changelog ==

=== 1.2.2 ===

  * update the libary to 3.1.3 see `CHANGES` file in the `lib` directory of the plugin
  * correct the exsample

=== 1.2.1 ===

  * update the libary to 3.1.2 it fix two security leaks

=== 1.2.0 ===

  * fix constructor of sfSwiftPlugin class

=== 1.1.1 ===

  * correct typo in the example, not necessary to update

=== 1.1.0 ===

  * upgrade Swift to 3.1
  * upgrade sample to the syntax from version 3