tweedegolf / swiftmailer-logger-bundle

Log emails sent with Swift Mailer in your Symfony2 project
MIT License
10 stars 7 forks source link

Added a way to get a Swift_Message instance directly from the LoggedMessage entity #1

Closed Ddall closed 10 years ago

Ddall commented 10 years ago

So you can re-send an email with a single line of code like so:

$container->get('mailer')->send( $message->getSwiftMessage() );

hugovandepol commented 10 years ago

Thanks for the addition. It's a work in progress as you probably noticed!