]> git.mxchange.org Git - mailer.git/commitdiff
Testing fix for emails
authorRoland Häder <roland@mxchange.org>
Fri, 6 Nov 2009 17:01:01 +0000 (17:01 +0000)
committerRoland Häder <roland@mxchange.org>
Fri, 6 Nov 2009 17:01:01 +0000 (17:01 +0000)
inc/functions.php

index ee6f261cc15f48e0e3324a9ba91cbd7bb3529b6a..dc31759fc8479eee9c9f1b4719ba81aec2a0f2a1 100644 (file)
@@ -529,7 +529,7 @@ function sendEmail ($toEmail, $subject, $message, $isHtml = 'N', $mailHeader = '
        //* DEBUG: */ outputHtml(__FUNCTION__."(<font color=\"#0000aa\">".__LINE__."</font>):TO={$toEmail},SUBJECT={$subject}<br />");
 
        // Compile subject line (for POINTS constant etc.)
-       eval("\$subject = decodeEntities(\"".compileRawCode(escapeQuotes($subject))."\");");
+       eval("\$subject = decodeEntities(\"".compileCode(escapeQuotes($subject))."\");");
 
        // Set from header
        if ((!eregi('@', $toEmail)) && ($toEmail > 0)) {
@@ -575,10 +575,10 @@ function sendEmail ($toEmail, $subject, $message, $isHtml = 'N', $mailHeader = '
        }
 
        // Compile "TO"
-       eval("\$toEmail = \"".compileRawCode(escapeQuotes($toEmail))."\";");
+       eval("\$toEmail = \"".compileCode(escapeQuotes($toEmail))."\";");
 
        // Compile "MSG"
-       eval("\$message = \"".compileRawCode(escapeQuotes($message))."\";");
+       eval("\$message = \"".compileCode(escapeQuotes($message))."\";");
 
        // Fix HTML parameter (default is no!)
        if (empty($isHtml)) $isHtml = 'N';