[META] Drupal Symfony Mailer support

Created on 2 October 2023, over 1 year ago
Updated 9 December 2023, about 1 year ago

Problem/Motivation

Drupal Symfony Mailer support is becoming more and more popular we need to have proper support of it.

Remaining tasks

New implementations

πŸ“Œ Replace reroute_email logic from procedural style to plugin-manageable Fixed
✨ Support symfony_mailer, which doesn't use hook_mail_alter Fixed
πŸ“Œ Add message on the reroute settings form if Drupal Symfony Mailer is enabled Fixed
πŸ› Make a schema for adjuster Fixed
πŸ“Œ Implement hook_mailer_adjuster_info_alter to ensure reroute is the last one to be executed Fixed
πŸ› Incorrect converting the comma-separated emails into Address class Needs review

Bugs

πŸ› Not working for contact form and Symfony Mailer Fixed
πŸ› Wrong namespace is used (Drupal\mailer should be Drupal\symfony_mailer) Fixed
πŸ› SymfonyMailerAdjuster::prependBody can generate broken html Fixed
πŸ› Undefined array key "use_global" when attempting to add Reroute Email Adjuster Fixed

Refactoring

πŸ“Œ Move constants from outdated RerouteEmailConstants to a newly introduced RerouteEmailHandlerPluginInterface Active
πŸ“Œ Raname RerouteEmailHandler plugin from SymfonyMailerAdjuster to SymfonyMailer Fixed

Tests

πŸ“Œ phpstan jobs fails at GitLab Fixed
πŸ“Œ Drupal Symfony Mailer Support: EmailBuilder plugin for the reroute_email test form Fixed
πŸ“Œ Add tests for Drupal Symfony Mailer Active
πŸ“Œ Adapt ContactFormTest, CaseSensitivityTest, MailKeysTest, TestEmailFormTest tests for 'Reroute Email (Symfony Mailer support)' module. Fixed
πŸ“Œ SymfonyMailerTestEmailFormTest skipped 6 tests to run Active
πŸ› Add tests for Drupal Symfony Mailer (if non global reroute configuration is used) Active

πŸ“Œ Task
Status

Fixed

Version

2.3

Component

Code

Created by

πŸ‡ΊπŸ‡¦Ukraine bohart Lutsk, Ukraine

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024