Re: Comma in email names

2010-10-05 Thread karthz
JIRA Ticket for this bug: https://issues.apache.org/activemq/browse/CAMEL-3199 -- View this message in context: http://camel.465427.n5.nabble.com/Comma-in-email-names-tp3198928p3199946.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Comma in email names

2010-10-05 Thread Tracy Snell
I got it. I'll create the Jira and submit the patch as soon as I write a test to confirm the fix. On Oct 5, 2010, at 8:37 AM, Hadrian Zbarcea wrote: > Yes, please create a jira. The problem is the simple parsing that doesn't > account for commas (or semicolons) within quotes. > We need to fix

Re: Comma in email names

2010-10-05 Thread Hadrian Zbarcea
>> by comma or semicolon >> String[] lines = recipient.split("[,;]"); >> for (String line : lines) { >> line = line.trim(); >> mimeMessage.addRecipients(asRecipientType(type), line); >> } >> >> Isn

Re: Comma in email names

2010-10-05 Thread Claus Ibsen
on >         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 thi

Comma in email names

2010-10-05 Thread karthz
? 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.