# 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
To install sfSwiftPlugin, type:
symfony plugin-install http://plugins.symfony-project.com/sfSwiftPlugin
Go to http://www.swiftmailer.org/download/ and extract/checkout the SwiftMailer library
Add the following lines to your `settings.yml`:
.settings:
autoloading_functions:
* [autoload](sfSwiftMailerBridge,)
swift_lib_dir: /path/to/swift/lib
## 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/wikidocs/
Enjoy!
## Changelog
### 1.4.0
* implement sfSwiftMailerBridge thanks to Joaquin.Bravo (now use `Swift` instead of `sfSwiftPlugin`)
### 1.3.1
* update the libary to 3.2.2 see CHANGES file in the lib/Swift directory of the plugin
### 1.3.0
* update the libary to 3.2.0 see `CHANGES` file in the `lib/Swift` directory of the plugin
### 1.2.4
* update the libary to 3.1.5 see `CHANGES` file in the `lib/Swift` directory of the plugin
### 1.2.3
* update the libary to 3.1.4 see `CHANGES` file in the `lib` directory of the plugin
### 1.2.2
* update the libary to 3.1.3 see `CHANGES` file in the `lib` directory of the plugin
* correct the example
### 1.2.1
* update the libary to 3.1.2 see `CHANGES` file in the `lib` directory of the plugin
### 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