Index: program/include/rcube_imap.inc
===================================================================
--- program/include/rcube_imap.inc	(revision 2f2f15b7aabe19e45dad9bddb7eb7f4394aa1e21)
+++ program/include/rcube_imap.inc	(revision d04d202234b0ba1e65b1c581acf0cbe715120dd7)
@@ -2378,5 +2378,6 @@
   function _parse_address_list($str)
     {
-    $a = $this->_explode_quoted_string(',', $str);
+    // remove any newlines and carriage returns before
+    $a = $this->_explode_quoted_string(',', preg_replace( "/[\r\n]/", " ", $str));
     $result = array();
     
