Test form modifies active MailSystem settings

Created on 1 July 2024, 10 months ago

Problem/Motivation

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.

Steps to reproduce

- 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".

Proposed resolution

- Toogle back to the previous configuration after sending the test e-mail in HtmlMailTestForm::submitForm()

πŸ› Bug report
Status

Active

Version

1.0

Component

Code

Created by

πŸ‡ͺπŸ‡ΈSpain budalokko Girona

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024