Skip to content

Commit

Permalink
Allowed comma-delimited list in smtp $to var to be consistent with st…
Browse files Browse the repository at this point in the history
…andard mail delivery. Fixes cakephp#1353
  • Loading branch information
jeremyharris committed Dec 11, 2010
1 parent b3f55bf commit 7ed19ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cake/libs/controller/components/email.php
Expand Up @@ -861,7 +861,7 @@ function _smtp() {
}

if (!is_array($this->to)) {
$tos = array($this->to);
$tos = array_map('trim', explode(',', $this->to));
} else {
$tos = $this->to;
}
Expand Down

0 comments on commit 7ed19ea

Please sign in to comment.