Index: trunk/kernel/include/emailmessage.php =================================================================== diff -u -r3520 -r3527 --- trunk/kernel/include/emailmessage.php (.../emailmessage.php) (revision 3520) +++ trunk/kernel/include/emailmessage.php (.../emailmessage.php) (revision 3527) @@ -761,7 +761,13 @@ $headers = "To: <".$To.">"."\n".$headers; $headers = "Subject: ".trim($Subject)."\r\n".$headers; - $send_params['recipients'] = array($To); // The recipients (can be multiple) + if (strpos($To, ',') !== false) { + $To = str_replace(' ', '', $this->To); + $send_params['recipients'] = explode(',', $this->To); + } + else { + $send_params['recipients'] = array($To); // The recipients (can be multiple) + } $send_params['from'] = $From; // This is used as in the MAIL FROM: cmd $send_params['headers'] = explode("\r\n",$headers); // It should end up as the Return-Path: header