X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Flibs%2Fhtml_mail_functions.php;h=f45f68d4e98d330fb9469044bb9ebc74a8b2c346;hb=0a7e0faba4feaf17432cbdcaf17eb7d2f3812a1e;hp=ce48a033e29bffa47376def25142399d1f0f3647;hpb=75ad748a68473ace540251427a74fb781b1145e9;p=mailer.git diff --git a/inc/libs/html_mail_functions.php b/inc/libs/html_mail_functions.php index ce48a033e2..f45f68d4e9 100644 --- a/inc/libs/html_mail_functions.php +++ b/inc/libs/html_mail_functions.php @@ -155,8 +155,8 @@ function HTML_INSERT_URLS($text) $text .= $part; } - // Replace new-lines agains
-s and finally compile possible own HTML tags out... - return COMPILE_CODE(str_replace("\n", "
\n", $text)); + // Replace new-lines agains
-s and finally compile possible own HTML tags out... + return COMPILE_CODE(str_replace("\n", "
\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); } } //