MyBB Community Forums

Full Version: HTML formating in emails
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Is possible to use simple html tags (<b><i><br> etc.) in notification email templates (new PM, new reply, buddy request, ...). Or it is not possible?

Thank you very much!
Hmm, ok but it is a pretty old thread. Anyway thank you! Is there anybody who have experiences with this?
The mailhandler is able to support it by the looks of the code: https://github.com/mybb/mybb/blob/featur...r.php#L108

I have never actually used or tested though so I'm just going off theory.
I am asking because I need to change template for all email types. At least add <i> tag for reply etc.

(2015-02-06, 05:25 PM)dragonexpert Wrote: [ -> ]The mailhandler is able to support it by the looks of the code: https://github.com/mybb/mybb/blob/featur...r.php#L108

I have never actually used or tested though so I'm just going off theory.

So I just need to change $format="text" to $format="html", right?
"both" is more recommended since it will also send plain message for those who can't/don't want to read HTML messages,