diff options
author | crocomo <crocomo@btree.de> | 2014-02-25 00:41:48 +0100 |
---|---|---|
committer | crocomo <crocomo@btree.de> | 2014-02-25 00:41:48 +0100 |
commit | a11fef384a509ded8762b4fe0530d4f0a1621815 (patch) | |
tree | 5490d9507a533bad53b77c6fe84c361db560844f /config/mailreport/mail_reports.inc | |
parent | a3b8ffd89df4ee1440d0053635b9eaf07527da9a (diff) | |
download | pfsense-packages-a11fef384a509ded8762b4fe0530d4f0a1621815.tar.gz pfsense-packages-a11fef384a509ded8762b4fe0530d4f0a1621815.tar.bz2 pfsense-packages-a11fef384a509ded8762b4fe0530d4f0a1621815.zip |
Fix spelling, email header and table header
* Spelling now sticks with [1] (email, Email at the beginning of a sentence)
* Email header now "Email Report" instead of "Graph Report"
* Table header now "Commands" instead of "Cmds" (plus fix for width)
* Version increased to 2.0.10
[1] https://www.rfc-editor.org/rfc-style-guide/terms-online.txt
Diffstat (limited to 'config/mailreport/mail_reports.inc')
-rw-r--r-- | config/mailreport/mail_reports.inc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/config/mailreport/mail_reports.inc b/config/mailreport/mail_reports.inc index 94c7500c..746b4759 100644 --- a/config/mailreport/mail_reports.inc +++ b/config/mailreport/mail_reports.inc @@ -209,11 +209,11 @@ function mail_report_send($headertext, $cmdtext, $logtext, $attachments) { $mail->ContentType = 'text/html'; $mail->IsHTML(true); - $mail->AddReplyTo($config['notifications']['smtp']['fromaddress'], "Firewall Graph Report"); - $mail->SetFrom($config['notifications']['smtp']['fromaddress'], "Firewall Graph Report"); + $mail->AddReplyTo($config['notifications']['smtp']['fromaddress'], "Firewall Email Report"); + $mail->SetFrom($config['notifications']['smtp']['fromaddress'], "Firewall Email Report"); $address = $config['notifications']['smtp']['notifyemailaddress']; $mail->AddAddress($address, "Report Recipient"); - $mail->Subject = "{$config['system']['hostname']}.{$config['system']['domain']} Graph Report: {$headertext}"; + $mail->Subject = "{$config['system']['hostname']}.{$config['system']['domain']} Email Report: {$headertext}"; $mail->Body .= "This is a periodic report from your firewall, {$config['system']['hostname']}.{$config['system']['domain']}.<br /><br />Current report: {$headertext}<br />\n<br />\n"; if (!empty($cmdtext)) $mail->Body .= $cmdtext; |