summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorDarren Embry <dse@webonastick.com>2012-03-21 13:51:07 -0400
committerDarren Embry <dse@webonastick.com>2012-03-21 13:51:07 -0400
commit90dd642352ea4c26eec633d1f075f12262e18ccb (patch)
treed359366f017d7bdbf303a68b1d99bfa3ab3d406c /etc
parent0b8160bbfa98e2934519cc6c58edf80f0214bab9 (diff)
downloadpfsense-90dd642352ea4c26eec633d1f075f12262e18ccb.zip
pfsense-90dd642352ea4c26eec633d1f075f12262e18ccb.tar.gz
[Patch] Multiple SMTP notice recipients
http://redmine.pfsense.org/issues/2026
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/notices.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/notices.inc b/etc/inc/notices.inc
index ee4b87f..b3084bc 100644
--- a/etc/inc/notices.inc
+++ b/etc/inc/notices.inc
@@ -323,7 +323,7 @@ function notify_via_smtp($message) {
fwrite($fd, $message);
fclose($fd);
- if($smtp->SendMessage($from, array($to), $headers, $message)) {
+ if($smtp->SendMessage($from, preg_split('/\s*,\s*/', trim($to)), $headers, $message)) {
log_error(sprintf(gettext("Message sent to %s OK"), $to));
return;
} else {
OpenPOWER on IntegriCloud