- Issue created by @adamps
This issue is part of the migration strategy for 🌱 [META] Adopt the symfony mailer component Needs review , related to ✨ Migration strategy for moving to Symfony Mailer Active .
Site builder will wish to start using the new mail system even when some contrib modules don't yet support the new API.
MailManagerReplacement
that implements MailManagerInterface
, converting to call the new MailerInterface
.LegacyMailer
.Similar code already exists in Drupal Symfony Mailer module, using LegacyEmailBuilder. The conversion appears to work well for many cases, however it is best-effort given that the $message
interface is free-form. The conversion won't handle non-standard uses.