I've been using RoundCube for a few days now, and one thing I noticed was that when an e-mail address is formatted as "Lastname, Firstname" email@server.com that it tries to parse "Lastname" as a seperate e-mail address. After several experiments, I figured out that it was because the slashes in the To/CC/BCC headers were causing the problem. found that just by adding the line:
$mailto = stripslashes($mailto);
after the lines:
$from = $identity_arr['mailto']; $first_to = is_array($to_address_arr[0]) ? $to_address_arr[0]['mailto'] : $mailto;
And adding the line: $headers['Cc'] = stripslashes($headers['Cc']);
After the lines: if ($_POST['_cc']) $headers['Cc'] = preg_replace($mailto_regexp, '', $_POST['_cc']);
And finally adding: $headers['Bcc'] = stripslashes($headers['Bcc']);
After the lines: if ($_POST['_bcc']) $headers['Bcc'] = preg_replace($mailto_regexp, '', $_POST['_bcc']);
..fixes the whole problem.
-- -Trae Dorn TRHOnline.com