- return COMPILE_CODE(str_replace("\n", "<br />\n", $text));
-}
-
-// 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;
- sendEmail($to, $subject, $message, 'N', $FROM);
- }