Old, lost function sendHtmlMail() removed, this is now handled by sendEmail() and...
[mailer.git] / inc / libs / html_mail_functions.php
index 0ca2f48b0402d0357f9cfcb221930476f9afce82..6234dafc6c1534cb07fc9f2b199a0e8a53ff6590 100644 (file)
@@ -40,7 +40,7 @@
 // Some security stuff...
 if (!defined('__SECURITY')) {
        die();
-}
+} // END - if
 
 //
 function addValidHtmlTags() {
@@ -151,14 +151,5 @@ function insertUrlsIntoHtml ($text) {
        return preCompileCode(str_replace("\n", "<br />\n", $text));
 }
 
-// Sends a HTML mail to the user
-function sendHtmlEmail($to, $subject, $message, $FROM) {
-       if (isExtensionActive('html_mail')) {
-               // Send mail away as HTML
-               $FROM = "Content-Type: text/html; charset=UTF-8\n" . $FROM;
-               sendEmail($to, $subject, $message, 'N', $FROM);
-       } // END - if
-}
-
-//
+// [EOF]
 ?>