Merge fix from sonews-1.0.
authorcli
Wed, 12 Aug 2009 16:43:30 +0200
changeset 970028c8a63fd
parent 7 0b76e099eb96
parent 8 b62fe6ed39d3
child 10 cb071b654cf7
Merge fix from sonews-1.0.
     1.1 --- a/org/sonews/mlgw/MailPoller.java	Wed Aug 12 13:03:23 2009 +0200
     1.2 +++ b/org/sonews/mlgw/MailPoller.java	Wed Aug 12 16:43:30 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);