diff --git a/sendmail/trunk/batch/process_emails.php b/sendmail/trunk/batch/process_emails.php index f46260e43cb70602a5409975d2ff890c82a6f301..6879484c2391fb392f80d0e3a5ca5f6efd06c90b 100644 --- a/sendmail/trunk/batch/process_emails.php +++ b/sendmail/trunk/batch/process_emails.php @@ -84,7 +84,9 @@ while ($state <> 'END') { $GLOBALS['mailer']->setSubject($email->email_object); //--> Set body: Is Html/raw text ? if ($email->is_html == 'Y') { - $GLOBALS['mailer']->setHtml($email->email_body); + $body = str_replace('###', ';', $email->email_body); + $body = str_replace('___', '--', $body); + $GLOBALS['mailer']->setHtml($body); } else { $GLOBALS['mailer']->setText($email->email_body); }