v_mailto supports doctype as well

This commit is contained in:
luis daniel lucio quiroz
2015-01-20 19:10:00 +00:00
parent da886099a7
commit 76b908dcd2

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;
}