Jump to the post that solved this thread.
Thread Rating:
  • 1 Vote(s) - 3 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Solved: 11 Years, 4 Months ago HTML emails BUG
#10
Solved: 11 Years, 4 Months ago
MyBB uses nl2br function to convert new lines to <br />. For example in inc/taks/massmail.php there is:
if(strpos($mass_email['htmlmessage'], '<br />') === false && strpos($mass_email['htmlmessage'], '<br>') === false)
          {
              $mass_email['htmlmessage'] = nl2br($mass_email['htmlmessage']);
          }
I don't really understand the purpose of this code but I guess if you add <br /> somewhere to your mass mail, the new lines aren't converted.
Jump to the post that solved this thread.


Messages In This Thread
HTML emails BUG - by marcus123 - 2013-09-28, 06:07 PM
RE: HTML emails BUG - by .m. - 2013-09-28, 06:19 PM
RE: HTML emails BUG - by marcus123 - 2013-09-28, 06:24 PM
RE: HTML emails BUG - by .m. - 2013-09-28, 06:37 PM
RE: HTML emails BUG - by marcus123 - 2013-09-28, 06:43 PM
RE: HTML emails BUG - by .m. - 2013-09-28, 06:53 PM
RE: HTML emails BUG - by marcus123 - 2013-09-28, 06:54 PM
RE: HTML emails BUG - by Tankey - 2013-09-28, 09:48 PM
RE: HTML emails BUG - by marcus123 - 2013-09-29, 08:49 AM
RE: HTML emails BUG - by Destroy666 - 2013-09-29, 04:33 PM
RE: HTML emails BUG - by marcus123 - 2013-09-29, 04:47 PM

Forum Jump:


Users browsing this thread: 2 Guest(s)