Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Not Solved HTML formating in emails
#1
Not Solved
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!
[MyBB 1.8 Czech translation] [MyBB 1.8 plugins]: Prune old PMs + optimize DB plugin --- Thank you/like system
Reply
#2
Not Solved
you might wanna check this: http://community.mybb.com/showthread.php?tid=13294
We can't help everyone, but everyone can help someone - Ronald Reagan
Did you know? Your question has already been answered. But you haven't seen it yet.
Don’t  Forget to “Mark as Solved” after the fix
Reply
#3
Not Solved
Hmm, ok but it is a pretty old thread. Anyway thank you! Is there anybody who have experiences with this?
[MyBB 1.8 Czech translation] [MyBB 1.8 plugins]: Prune old PMs + optimize DB plugin --- Thank you/like system
Reply
#4
Not Solved
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.
Reply
#5
Not Solved
I am asking because I need to change template for all email types. At least add <i> tag for reply etc.

(02-06-2015, 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?
[MyBB 1.8 Czech translation] [MyBB 1.8 plugins]: Prune old PMs + optimize DB plugin --- Thank you/like system
Reply
#6
Not Solved
"both" is more recommended since it will also send plain message for those who can't/don't want to read HTML messages,
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)