Improve the Test outgoing mail configuration admin page adding: - Timestamp to the subject and message text. - Additional subject text to the current text subject. - From field (username or email) to send the test email from the that Moodle user.
This may not be set, so care must be taken to conditionally reinstate the value, once the test email has been sent.
Add a tool for admins to test that the outgoing mail configuration is valid.