mdjnelson / moodle-mod_customcert

Enables the creation of dynamically generated certificates with complete customisation via the web browser.
https://moodle.org/plugins/mod_customcert
GNU General Public License v3.0
90 stars 158 forks source link

No HTML in teacher/others mail [Moodle 4.1.9+] #503

Open benutzer-prog opened 2 years ago

benutzer-prog commented 2 years ago

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.

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.

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

Kind regards, Ben

mdjnelson commented 7 months ago

https://github.com/mdjnelson/moodle-mod_customcert/issues/574 could this be the reason?

benutzer-prog commented 4 months ago

No sadly not. The student mails are sent perfectly with html. Only the teachers and other recipients get the plaintextmails. I don't know why.