Skip to content
Snippets Groups Projects
Commit 811a787a authored by Yves Christian KPAKPO's avatar Yves Christian KPAKPO
Browse files

Update: sendmail module

parent 79dc9f0b
No related branches found
No related tags found
No related merge requests found
......@@ -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);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment