Add Symfony Mailer config for Mailhog in Drupal 9 settings #2706
The Problem/Issue/Bug:
How this PR Solves The Problem:
Manual Testing Instructions:
mkdir my-drupal9-site
cd my-drupal9-site
ddev config --project-type=drupal9 --docroot=web --create-docroot
ddev start
ddev composer create "drupal/recommended-project" --no-install
ddev composer require drush/drush --no-install
ddev composer require drupal/symfony_mailer --no-install
ddev composer install
ddev drush site:install -y
ddev drush pm:install symfony_mailer
ddev drush user:login "admin/config/system/mailer/test"
Use the login link to go to the page send a test mail. Verify mailhog recieves the test mail.
Automated Testing Overview:
Related Issue Link(s):
#2706
Release/Deployment notes:
Download the artifacts for this pull request:
Let me know when you've manually tested and like it, and set it to be ready for review. Thanks for this!
A minor update to the docs could be added to this, with a link to symfony mailer
This might make it into next point release if it happens this week :)
Rebased to pick up docs changes and a number of other things. Make sure you update your local appropriately.
I've tested on GitPod. It's working as expected.
Thanks, I think adding the drupal10 config pre-emptively causes no harm and leaves out a whole future maintenance step.
Testing. Can't believe symfony mailer is alpha.
Yes, they are ambitious to design a new mail system for drupal.