mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 00:53:50 +00:00
v_mailto supports doctype as well
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user