-
Improvement
-
Resolution: Fixed
-
Minor
-
4.0
-
MOODLE_400_STABLE
-
MOODLE_400_STABLE
-
MDL-71515-master_improve_test_email -
Easy
-
Whenever I'm debugging email this tool is indispensable - but often I run into things like grey listing, or dkim / spf signing issues etc, and I need to keep changing things downstream and resending emails and retesting. It can be confusing in particular if the emails were delayed for any reason and it's not clear which email belonged to which configuration at a point in time.
Additionally the signing can change depending on who sent the email.
So proposing a bunch of small tweaks:
1) Add a time stamp to the subject and contents of the email so you can easily compare that to the time it was received in your email client
2) Have an optional from field in the form. This could either accept a username or email and it will send the test email from that moodle user if it matches. This would only be used to match to an account, the actual from email used in the email would go through usual email processing and may be mapped to the noreply user etc - in fact this is exactly what I'd want to test is correct.
3) Have an optional subject. This would just get tacked onto the existing test email subject not replace it completely, it just serves an easy way to differentiate test emails similar to the date but with more meaning.