Problem/Motivation

Sites migrating from swiftmailer need a solution that's as safe as possible, minimizing the required changes.

Proposed resolution

Sites that want the minimum changes should enable symfony_mailer is enabled but not symfony_mailer_bc. This will be quite similar to swiftmailer, although still some differences that could be fixed as follow on issues:

  • The name and variables for templates have changed.
  • The name of the CSS library for mail CSS has changed.

Details

  1. Move MailManagerReplacement, LegacyEmailBuilder and symfony_mailer_bc_mailer_builder_info_alter() into the main module.
  2. LegacyEmailBuilder calls hook_mail_alter()

Remaining tasks

User interface changes

API changes

Data model changes

Comments

AdamPS created an issue. See original summary.

adamps’s picture

Status: Active » Needs review
StatusFileSize
new26.25 KB
adamps’s picture

Fix the tests.

adamps’s picture

StatusFileSize
new41.36 KB
adamps’s picture

adamps’s picture

  • AdamPS committed b23b1ea on 1.x
    Issue #3315698 by AdamPS: Improve back-compatibility, call...
adamps’s picture

Status: Needs review » Fixed
adamps’s picture

Assigned: adamps » Unassigned

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.