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

    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.