Hi, 

In camel-mail, if there's a comma in the "name" part of the email, like 

"Doe, John" <john....@mail.com> 

in Camel MailBinding, it gets split into two separate recipients 
"Doe" and "John" <john....@mail.com> 

       // we support that multi recipient can be given as a string separated
by comma or semicolon 
        String[] lines = recipient.split("[,;]"); 
        for (String line : lines) { 
            line = line.trim(); 
            mimeMessage.addRecipients(asRecipientType(type), line); 
        } 

Isn't the above example a valid email? Is this a bug? 

Thanks.

-- 
View this message in context: 
http://camel.465427.n5.nabble.com/Comma-in-email-names-tp3198928p3198928.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to