- Issue created by @budalokko
- Merge request !10Issue #3458278: Fix test form modifies active MailSystem settings. → (Open) created by budalokko
- Status changed to Needs review
6 months ago 12:29pm 1 July 2024
When using the test form at /admin/config/system/htmlmail/test
the mailsystem.settings
config is modified with the selection of the "Test mail sending class" field value, which should not happen.
- Install and enable MimeMail and MailSystem modules.
- Configure the default MailSystem to use different classes for "Formatter" and "Sender". For example formatter - "HTML Mail mailer", sender - "Default PHP mailer"
- Send a test mail at /admin/config/system/htmlmail/test
selection "HTML Mail mailer" as "Test mail sending class"
- Check MailSystem configuration, both formatter and sender have been changed to "HTML Mail mailer".
- Toogle back to the previous configuration after sending the test e-mail in HtmlMailTestForm::submitForm()
Needs review
4.0
Code