// 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()) {