Custom Cert - HTML in Emails

Custom Cert - HTML in Emails

by Eric Smoyer -
Number of replies: 0

Moodle 3.8

Hi All,

I have been trying without success to get the Custom Cert plugin to send HTML emails instead of the plain text. I was able to get our regular emails going out as HTML (new user, password reset, etc) but no matter what I try, Custom Cert only sends the very vanilla plain text email. We'd like to be able to add our logo/brand to the email like with the other Moodle emails to make it look less like a suspicious email.

So far I have tried creating custom mustache files and putting them in our theme's template folder as this worked for the general Moodle emails. I even tried putting them in a 'customcert' subfolder in the theme's template folder but the email still draws from the customcert mod template folder. I even tried editing the html mustache file directly in the plugin folder but still only pulls plain text. Purged caches too.

I did get it to send HTML email once while I was trying to test, but have no clue what prompted it to do that.

Does anyone else have this issue? Any insight would be much appreciated!

Average of ratings: Useful (1)