diff options
author | Darren Embry <dse@webonastick.com> | 2012-03-21 13:51:07 -0400 |
---|---|---|
committer | Darren Embry <dse@webonastick.com> | 2012-03-21 13:51:07 -0400 |
commit | 90dd642352ea4c26eec633d1f075f12262e18ccb (patch) | |
tree | d359366f017d7bdbf303a68b1d99bfa3ab3d406c | |
parent | 0b8160bbfa98e2934519cc6c58edf80f0214bab9 (diff) | |
download | pfsense-90dd642352ea4c26eec633d1f075f12262e18ccb.zip pfsense-90dd642352ea4c26eec633d1f075f12262e18ccb.tar.gz |
[Patch] Multiple SMTP notice recipients
http://redmine.pfsense.org/issues/2026
-rw-r--r-- | etc/inc/notices.inc | 2 |
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 { |