From: Roland Häder Date: Fri, 6 Nov 2009 17:01:01 +0000 (+0000) Subject: Testing fix for emails X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=17b79f707a3470590e0444e86efad5d951e66696;p=mailer.git Testing fix for emails --- diff --git a/inc/functions.php b/inc/functions.php index ee6f261cc1..dc31759fc8 100644 --- a/inc/functions.php +++ b/inc/functions.php @@ -529,7 +529,7 @@ function sendEmail ($toEmail, $subject, $message, $isHtml = 'N', $mailHeader = ' //* DEBUG: */ outputHtml(__FUNCTION__."(".__LINE__."):TO={$toEmail},SUBJECT={$subject}
"); // 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';