2018-12-28, 09:18 PM
While HTML mails are possible in mass mail, it seems a little hard to achieve it in system messages, e.g. defined in messages.lang.php.
According this post
https://community.mybb.com/thread-101068...#pid738502
and for MyBB 1.6, it should be possible by editing the file functions.php
I've tried it and edited line 566 from
to
But it would not render any html. I also tried instead of 'html' the input 'both'.
Does anyone know if it is somehow possible to create system mails in html?
I would find html e-mails really useful as many mail clients on mobile devices do not link URL's unless they are sent in HTML format.
According this post
https://community.mybb.com/thread-101068...#pid738502
and for MyBB 1.6, it should be possible by editing the file functions.php
I've tried it and edited line 566 from
function my_mail($to, $subject, $message, $from="", $charset="", $headers="", $keep_alive=false, $format="[b]text[/b]", $message_text="", $return_email="")
to
function my_mail($to, $subject, $message, $from="", $charset="", $headers="", $keep_alive=false, $format="[b]html[/b]", $message_text="", $return_email="")
But it would not render any html. I also tried instead of 'html' the input 'both'.
Does anyone know if it is somehow possible to create system mails in html?
I would find html e-mails really useful as many mail clients on mobile devices do not link URL's unless they are sent in HTML format.