FriendsOfSymfony/FOSUserBundle — pull request #487 by stof (2012-01-14 19:33:43+00:00)
Title: Twig based mailer

Here is a proposal to implement #282

This new mailer implementation allows getting rid of the current hack using the first line of the template as subject.
I kept the old mailer by default for now because the new one has a hard requirement on Twig and people overwriting the template would need to update it.

My plans are to release 1.2 soon by keeping the compatibility with Symfony 2.0, because of #464 and to bump the requirement to Symfony 2.1 only in the next release relying on new features. The mailer used by default could then be changed in this release (which will probably be a 2.0 release as I plan some changes to clean things) to use the TwigSwiftMailer implementation.

Btw, if someone has a better idea to name the class, feel free to suggest it.