From 811a787ae7a5a9406da8058fa044e72e4cf22ee6 Mon Sep 17 00:00:00 2001 From: Yves Christian Kpakpo <yveschristian.kpakpo@maarch.org> Date: Tue, 19 Mar 2013 01:13:43 +0000 Subject: [PATCH] Update: sendmail module --- sendmail/trunk/batch/process_emails.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sendmail/trunk/batch/process_emails.php b/sendmail/trunk/batch/process_emails.php index f46260e43cb..6879484c239 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); } -- GitLab