v_mailto supports doctype as well
This commit is contained in:
+1
-1
@@ -256,7 +256,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
//add the body to the email
|
//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->ContentType = "text/html";
|
||||||
$mail->Body = $body;
|
$mail->Body = $body;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user