mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 00:53:50 +00:00
Hide the email body from the email log.
This commit is contained in:
@@ -18,7 +18,7 @@
|
||||
|
||||
The Initial Developer of the Original Code is
|
||||
Mark J Crane <markjcrane@fusionpbx.com>
|
||||
Portions created by the Initial Developer are Copyright (C) 2008-2012
|
||||
Portions created by the Initial Developer are Copyright (C) 2008-2015
|
||||
the Initial Developer. All Rights Reserved.
|
||||
|
||||
Contributor(s):
|
||||
@@ -275,7 +275,7 @@
|
||||
|
||||
//add the body to the email
|
||||
$body_plain = rip_tags($body);
|
||||
echo "body_plain = $body_plain\n";
|
||||
//echo "body_plain = $body_plain\n";
|
||||
if ((substr($body, 0, 5) == "<html") || (substr($body, 0, 9) == "<!doctype")) {
|
||||
$mail->ContentType = "text/html";
|
||||
$mail->Body = $body;
|
||||
@@ -361,4 +361,4 @@ fwrite($fp, $content);
|
||||
fclose($fp);
|
||||
|
||||
*/
|
||||
?>
|
||||
?>
|
||||
Reference in New Issue
Block a user