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-11 15:11:54 -08:00
parent b3f55bfd29
commit 7ed19eae88

View file

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