From: Roland Häder Date: Fri, 6 Nov 2009 17:43:21 +0000 (+0000) Subject: raw... X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=481c2f9be33eaf1565217b12b3a90b75b5a52ecd;p=mailer.git raw... --- 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()) {