Disable strict parsing of email addresses.
1.1 --- a/org/sonews/mlgw/MailPoller.java Wed Jul 22 14:04:05 2009 +0200
1.2 +++ b/org/sonews/mlgw/MailPoller.java Wed Aug 12 16:38:11 2009 +0200
1.3 @@ -19,7 +19,6 @@
1.4 package org.sonews.mlgw;
1.5
1.6 import java.util.Properties;
1.7 -import javax.mail.Address;
1.8 import javax.mail.AuthenticationFailedException;
1.9 import javax.mail.Authenticator;
1.10 import javax.mail.Flags.Flag;
1.11 @@ -84,6 +83,7 @@
1.12 // Create empty properties
1.13 Properties props = System.getProperties();
1.14 props.put("mail.pop3.host", host);
1.15 + props.put("mail.mime.address.strict", "false");
1.16
1.17 // Get session
1.18 Session session = Session.getInstance(props);