Start transport only if there are messages in the queue
Handle correct exception type while reading IoBuffer output

readLine function (currently only implemented in Swift_Transport_StreamBuffer) throws Swift_IoException that is unhandled so it bubbles up outside SwiftMailer.

I use FailoverTransport and its not working as expected unless this fix is applied.

Fixes #294
Improve documentation for creating and sending messages.

Add important information about Swift_RfcComplianceException and Swift_Validate.
merged branch Haprog/improve-docs (PR #326)

This PR was merged into the master branch.

Discussion
----------

Fix issue #304. Improve documentation for creating and sending messages.

Fix issue https://github.com/swiftmailer/swiftmailer/issues/304.
Add important information about ``Swift_RfcComplianceException`` and ``Swift_Validate``.

Commits
-------

e4787af Improve documentation for creating and sending messages.
Improve IDE code completion for Swift_SmtpTransport
merged branch Haprog/improve-code-completion (PR #325)

This PR was squashed before being merged into the master branch (closes #325).

Discussion
----------

Improve IDE code completion for Swift_SmtpTransport

Add @method doc blocks to Swift_SmtpTransport for setUsername(), getUsername(), setPassword(), getPassword(), setAuthMode() and getAuthMode() to improve IDE code completion for Swift_SmtpTransport.

Commits
-------

a4c597d Improve IDE code completion for Swift_SmtpTransport
merged branch nurikabe/master (PR #323)

This PR was merged into the master branch.

Discussion
----------

Start transport only if there are messages in the queue

When firing the console `swiftmailer:spool:send` command via cron, the file based spool would first open an SMTP connection before trying to determine if there were any messages to send.  This can get expensive when using SMTP services like SendGrid that charge per connection in addition to messages sent.

Commits
-------

40acc60 Start transport only if there are messages in the queue
updated changelog
fixed next version
prepared the 5.0.1 release
bumped version to 5.0.2-DEV
Handle Swift_TransportException along with Swift_IoException
merged branch sbacelic/patch-1 (PR #324)

This PR was merged into the master branch.

Discussion
----------

Handle correct exception type while reading IoBuffer output

readLine function (currently only implemented in Swift_Transport_StreamBuffer) throws Swift_IoException that is unhandled so it bubbles up outside SwiftMailer.

I use FailoverTransport and its not working as expected unless this fix is applied.

Fixes #294

Commits
-------

974afa9 Handle Swift_TransportException along with Swift_IoException
1c93db0 Handle correct exception type while reading IoBuffer output
updated CHANGES
[Singers] fixed openssl_pkcs7_encrypt() not using the encryptCipher
merged branch sstok/patch-2 (PR #345)

This PR was merged into the master branch.

Discussion
----------

[Singers] fixed openssl_pkcs7_encrypt() not using the encryptCipher

| Q             | A
| ------------- | ---
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | #340
| License       | MIT

Swift_Signers_SMimeSigner did not use $encryptCipher, making it always use the the weakest cipher OPENSSL_CIPHER_RC2_40

Commits
-------

91e36e5 [Singers] fixed openssl_pkcs7_encrypt() not using the encryptCipher
cleaned up .gitignore