return COMPILE_CODE(str_replace("\n", "<br />\n", $text));
}
-//
-function SEND_HTML_EMAIL($to, $subject, $message, $FROM) {
+// Sends a HTML mail to the user
+function sendHtmlEmail($to, $subject, $message, $FROM) {
if (EXT_IS_ACTIVE('html_mail')) {
// Send mail away as HTML
- $FROM = "Content-Type: text/html\n".$FROM;
+ $FROM = "Content-Type: text/html\n" . $FROM;
sendEmail($to, $subject, $message, 'N', $FROM);
}
}