Aleksander Machniak
2013-05-07 3725cfb245bfae3a77baf857ea5403e8064b84b9
program/lib/Roundcube/rcube_smtp.php
@@ -433,9 +433,9 @@
        $recipients = rcube_utils::explode_quoted_string(',', $recipients);
        reset($recipients);
        while (list($k, $recipient) = each($recipients)) {
        foreach ($recipients as $recipient) {
            $a = rcube_utils::explode_quoted_string(' ', $recipient);
            while (list($k2, $word) = each($a)) {
            foreach ($a as $word) {
                if (strpos($word, "@") > 0 && $word[strlen($word)-1] != '"') {
                    $word = preg_replace('/^<|>$/', '', trim($word));
                    if (in_array($word, $addresses) === false) {