v_mailto supports doctype as well
This commit is contained in:
parent
bd12ebea2b
commit
86ddcb5edf
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue