v_mailto supports doctype as well

This commit is contained in:
luis daniel lucio quiroz 2015-01-20 19:10:00 +00:00
parent bd12ebea2b
commit 86ddcb5edf
1 changed files with 1 additions and 1 deletions

View File

@ -256,7 +256,7 @@
}
//add the body to the email
if (substr($body, 0, 5) == "<html") {
if ((substr($body, 0, 5) == "<html") || (substr($body, 0, 9) == "<!doctype")) {
$mail->ContentType = "text/html";
$mail->Body = $body;
}