From 481c2f9be33eaf1565217b12b3a90b75b5a52ecd Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Fri, 6 Nov 2009 17:43:21 +0000 Subject: [PATCH] raw... --- inc/functions.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/inc/functions.php b/inc/functions.php index 023cc7d2be..06c06212fc 100644 --- a/inc/functions.php +++ b/inc/functions.php @@ -612,10 +612,10 @@ function checkPhpMailerUsage() { // Send out a raw email with PHPMailer class or legacy mail() command function sendRawEmail ($toEmail, $subject, $message, $from) { // Just compile all again, to put out all configs, etc. - eval('$toEmail = decodeEntities("' . compileCode(escapeQuotes($toEmail)) . '");'); - eval('$subject = decodeEntities("' . compileCode(escapeQuotes($subject)) . '");'); - eval('$message = decodeEntities("' . compileCode(escapeQuotes($message)) . '");'); - eval('$from = decodeEntities("' . compileCode(escapeQuotes($from)) . '");'); + eval('$toEmail = decodeEntities("' . compileRawCode(escapeQuotes($toEmail)) . '");'); + eval('$subject = decodeEntities("' . compileRawCode(escapeQuotes($subject)) . '");'); + eval('$message = decodeEntities("' . compileRawCode(escapeQuotes($message)) . '");'); + eval('$from = decodeEntities("' . compileRawCode(escapeQuotes($from)) . '");'); // Shall we use PHPMailer class or legacy mode? if (checkPhpMailerUsage()) { -- 2.39.5