summaryrefslogtreecommitdiffstats
path: root/etc/inc/notices.inc
diff options
context:
space:
mode:
authorBill Marquette <bill.marquette@gmail.com>2011-05-14 11:16:56 -0500
committerBill Marquette <bill.marquette@gmail.com>2011-05-14 11:16:56 -0500
commit92ca10c1f6657ac1911c5eaa0fea97bdd948466f (patch)
tree3458ce8d3ad4a9e41769519796e96cb8d438ee65 /etc/inc/notices.inc
parent23b774e0cfce78e24cd290f096972b098b7bf66b (diff)
parent2d74f1cf28a734fe1880dce7638bc1cbab558ab8 (diff)
downloadpfsense-92ca10c1f6657ac1911c5eaa0fea97bdd948466f.zip
pfsense-92ca10c1f6657ac1911c5eaa0fea97bdd948466f.tar.gz
Merge branch 'axscode-pfs'
Diffstat (limited to 'etc/inc/notices.inc')
-rw-r--r--etc/inc/notices.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/inc/notices.inc b/etc/inc/notices.inc
index 9ccd373..9edd32b 100644
--- a/etc/inc/notices.inc
+++ b/etc/inc/notices.inc
@@ -295,7 +295,7 @@ function notify_via_smtp($message) {
$smtp->host_port = empty($config['notifications']['smtp']['port']) ? 25 : $config['notifications']['smtp']['port'];
$smtp->direct_delivery = 0;
- $smtp->ssl = 0;
+ $smtp->ssl = ($config['notifications']['smtp']['ssl'] == "checked") ? 1 : 0;
$smtp->debug = 0;
$smtp->html_debug = 0;
$smtp->localhost=$config['system']['hostname'].".".$config['system']['domain'];
@@ -393,4 +393,4 @@ function register_via_growl() {
}
}
-?> \ No newline at end of file
+?>
OpenPOWER on IntegriCloud