From 33f640ca7f9258bea8fb52ccbf4e095b09d6d3ca Mon Sep 17 00:00:00 2001 From: markjcrane Date: Tue, 15 Mar 2016 03:22:38 -0600 Subject: [PATCH] Remove the body of the email from the log in the tmp directory to make it more readable and better compatibility with tail -f. --- secure/v_mailto.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/secure/v_mailto.php b/secure/v_mailto.php index 5a7566a081..baf02743be 100644 --- a/secure/v_mailto.php +++ b/secure/v_mailto.php @@ -18,7 +18,7 @@ The Initial Developer of the Original Code is Mark J Crane - Portions created by the Initial Developer are Copyright (C) 2008-2015 + Portions created by the Initial Developer are Copyright (C) 2008-2016 the Initial Developer. All Rights Reserved. Contributor(s): @@ -102,7 +102,7 @@ } else { //get the headers - print_r($decoded[0]); + //print_r($decoded[0]); $headers = json_decode($decoded[0]["Headers"]["x-headers:"], true); $subject = $decoded[0]["Headers"]["subject:"]; $from = $decoded[0]["Headers"]["from:"]; @@ -196,7 +196,7 @@ echo "Reply-to: ".$reply_to."\n"; echo "To: ".$to."\n"; echo "Date: ".$date."\n"; - echo "Body: ".$body."\n"; + //echo "Body: ".$body."\n"; //add to, from, fromname, custom headers and subject to the email $mail->From = $smtp['from'] ;