I use HTML code for color, size, and style in the names of my activities.
When an e-mail message is sent, the HTML code shows in the subject line.
Can this be cleaned up?
Here is a picture of what my students, receive:
I
I use HTML code for color, size, and style in the names of my activities.
When an e-mail message is sent, the HTML code shows in the subject line.
Can this be cleaned up?
Here is a picture of what my students, receive:
I
Depending on the version of Moodle you are running, possibly the eMail is a template and thus can be overridden in a theme and at that point the message cleaned up with a core / PHP function / method. For example, the forum eMail is altered in the Campus theme: https://github.com/dasistwas/moodle-theme_campus/commit/462ff19bea18a4ac56ed41e1e6117869f182ab1e. This is not trivial to do or understand!
Or there might be a core 'text' only eMail setting.
Text Only is probably not the answer, the HTML is not active in the title rather it is being shown as text.
There is little probability that something deep in the bowels of Moodle will carry any weight. I will have to fire up my home Moodle system to work it out.
I seem to be the only one here that uses HTML in the titles.
https://www.campaignmonitor.com/resources/guides/using-emojis-and-symbols-in-email-marketing/#four
is entitled ... 'Thins to think about ..." and one item is worthy of note ...
EMail client support for ....
'spirit of sharing', Ken
Ok, I'm talking about a 'text only' eMail setting. If that's still not what you want then you'll need to start looking at the code, find out where the eMail is sent from for that particular element and then work out a solution whereby it only cleans up the subject lines of activity eMails.
In the example given for custom headers has 787 lines changed. Since I am probably the only one using HTML for my activity titles, I doubt I am going to convince anyone with the authority to make the changes. (:
I was hoping for a simple check box.
It also seems that no one else here uses HTML this way.