From 90dd642352ea4c26eec633d1f075f12262e18ccb Mon Sep 17 00:00:00 2001 From: Darren Embry Date: Wed, 21 Mar 2012 13:51:07 -0400 Subject: [PATCH] [Patch] Multiple SMTP notice recipients http://redmine.pfsense.org/issues/2026 --- etc/inc/notices.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etc/inc/notices.inc b/etc/inc/notices.inc index ee4b87ff14..b3084bc9b2 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 {