2013-09-28, 06:07 PM
Guys I have a problem MyBB adds <br /> tag to the end of each code line.
How to fix that?
How to fix that?
HTML emails BUG
|
2013-09-28, 06:07 PM
Guys I have a problem MyBB adds <br /> tag to the end of each code line.
How to fix that?
2013-09-28, 06:19 PM
check if that is coming from actual code used to get the email IDs (like below)
What do you mean where is that code?
2013-09-28, 06:37 PM
how are you getting email IDs ? if you were using some type of php code / SQL query
then that might consist of break line code to separate the email IDs
2013-09-28, 06:43 PM
i go to mass mail, select HTML only then add this code.
But when the email arrives it looks like this.
<br /> everywhere
2013-09-28, 06:53 PM
^ oh, I was mistaken. from where (which application) you pasted content into mass mail
Dreamweaver when I use preview it looks OK but when I receive it looks *ucked up LOL
2013-09-28, 09:48 PM
Never used it before, but I'm saying where .m. is pointing at I think: dreamweaver fucks it up. Maybe it's a setting somewhere?
2013-09-29, 08:49 AM
Anyone please how to fix that or at least where tell me there to find emails templates?
2013-09-29, 04:33 PM
MyBB uses nl2br function to convert new lines to <br />. For example in inc/taks/massmail.php there is:
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.
|
« Next Oldest | Next Newest »
|