From 5d8357465ad861be48fd0c7bd04500dfed3bd5bf Mon Sep 17 00:00:00 2001 From: jim-p Date: Wed, 9 Oct 2013 08:07:22 -0400 Subject: When sending an e-mail report, do not generate output, otherwise it will generate a message from cron. --- config/mailreport/mail_reports.inc | 2 -- config/mailreport/mailreport.xml | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) (limited to 'config') diff --git a/config/mailreport/mail_reports.inc b/config/mailreport/mail_reports.inc index 85b67ddf..cf8c837c 100644 --- a/config/mailreport/mail_reports.inc +++ b/config/mailreport/mail_reports.inc @@ -229,8 +229,6 @@ function mail_report_send($headertext, $cmdtext, $logtext, $attachments) { if(!$mail->Send()) { echo "Mailer Error: " . $mail->ErrorInfo; - } else { - echo "Message sent to {$address}!\n"; } } diff --git a/config/mailreport/mailreport.xml b/config/mailreport/mailreport.xml index d27d3a28..000fc675 100644 --- a/config/mailreport/mailreport.xml +++ b/config/mailreport/mailreport.xml @@ -37,7 +37,7 @@ ]]> mailreport - 2.0.4 + 2.0.5 Status: Mail Reports /usr/local/bin/ -- cgit v1.2.3