Symfony\Component\Mailer\Transport::getDefaultFactories()
returns all the transport factories that are available on the system. In v1 we had code that called it.
In v2 I was copying 📌 [PP-1] Add symfony mailer transports to DIC Postponed , however the feature was deferred to ✨ Add support for 3rd-party symfony mailer transports Active . So we need to add the equivalent code back into this module.
Create MailerTransportServiceProvider
that registers the default factories if they don't already exist.
Active
2.0
Code