Allowed comma-delimited list in smtp $to var to be consistent with standard mail delivery. Fixes #1353

This commit is contained in:
Jeremy Harris 2010-12-14 20:55:34 -08:00
parent 53a687049c
commit 7416e58759

View file

@ -893,7 +893,7 @@ class EmailComponent extends Object{
} }
if (!is_array($this->to)) { if (!is_array($this->to)) {
$tos = array($this->to); $tos = array_map('trim', explode(',', $this->to));
} else { } else {
$tos = $this->to; $tos = $this->to;
} }