This discussion is archived
1 Reply Latest reply: Aug 1, 2012 11:57 AM by bshannon RSS

Error : Illegal semicolon, not in group in string

tullio0106 Newbie
Currently Being Moderated
I use Javamail 1.4.1 in order to read messages from a server.
When I get the message I execute message.getRecipients(xpRec) in order to get recipients but sometime I get an error
javax.mail.internet.AddressException: Illegal semicolon, not in group in string.
I can't controll the message format because are received mails.
How can I solve that issue ?
Is there a way to force to accept such adresses.
I tried with
props.setProperty("mail.mime.address.strict", "false");
before getting the session but nothing changed.
Tks
Tullio

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points