MailerInterface: failed exception contract when enabling messenger
MailerInterface: failed exception contract when enabling messenger

The interface for MailerInterface::send states that exception for
transport failures are sent as TransportExceptionInterface, which
make perfectly sense and allows to create solid UI.

If at later stage the Messenger component is enabled, the mail will
be rewired into a dispatched message, which by default is synchronous.
This cause all exception to be wrapped into HandlerFailedException
which doesn't the interface contract.

In the end the UI is broken, and the exception HandlerFailedException,
even if caught, is totally unrelated to the usage context as it is only
related to configuration details.

This patch will unwrap the underlying MailTransportInterface exception
if available for the handler exception.

derrabus/symfony,HeahDude/symfony,zerkms/symfony,phramz/symfony,zerkms/symfony,damienalexandre/symfony,phramz/symfony,tucksaun/symfony,tucksaun/symfony,d-ph/symfony,stof/symfony,nicolas-grekas/symfony,zerkms/symfony,HeahDude/symfony,nicolas-grekas/symfony,nicolas-grekas/symfony,curry684/symfony,zerkms/symfony,stof/symfony,stof/symfony,derrabus/symfony,HeahDude/symfony,xabbuh/symfony,tucksaun/symfony,d-ph/symfony,paradajozsef/symfony,paradajozsef/symfony,stof/symfony,curry684/symfony,paradajozsef/symfony,symfony/symfony,curry684/symfony,d-ph/symfony,symfony/symfony,xabbuh/symfony,derrabus/symfony,symfony/symfony,damienalexandre/symfony,nicolas-grekas/symfony,damienalexandre/symfony,sgehrig/symfony,tucksaun/symfony,paradajozsef/symfony,xabbuh/symfony,phramz/symfony,symfony/symfony,xabbuh/symfony,curry684/symfony,phramz/symfony,damienalexandre/symfony,sgehrig/symfony,d-ph/symfony,derrabus/symfony,sgehrig/symfony,HeahDude/symfony,sgehrig/symfony