]> git.mxchange.org Git - mailer.git/blobdiff - inc/libs/html_mail_functions.php
A *lot* more code-cleanups, errors in CSS fixed (missing brackets) and frameset suppo...
[mailer.git] / inc / libs / html_mail_functions.php
index ce48a033e29bffa47376def25142399d1f0f3647..f45f68d4e98d330fb9469044bb9ebc74a8b2c346 100644 (file)
@@ -155,8 +155,8 @@ function HTML_INSERT_URLS($text)
                $text .= $part;
        }
 
-       // Replace new-lines agains <BR>-s and finally compile possible own HTML tags out...
-       return COMPILE_CODE(str_replace("\n", "<BR>\n", $text));
+       // Replace new-lines agains <br />-s and finally compile possible own HTML tags out...
+       return COMPILE_CODE(str_replace("\n", "<br />\n", $text));
 }
 //
 function SEND_HTML_EMAIL($TO, $SUBJECT, $MSG, $FROM)
@@ -165,7 +165,7 @@ function SEND_HTML_EMAIL($TO, $SUBJECT, $MSG, $FROM)
        {
                // Send mail away as HTML
                $FROM = "Content-Type: text/html\n".$FROM;
-               SEND_EMAIL($TO, $SUBJECT, $MSG, "N", $FROM);
+               SEND_EMAIL($TO, $SUBJECT, $MSG, 'N', $FROM);
        }
 }
 //