1 Reply Latest reply: Aug 1, 2012 1:57 PM by Bill Shannon-Oracle RSS

    Error : Illegal semicolon, not in group in string

      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.