# HG changeset patch
# User cli
# Date 1250087891 -7200
# Node ID b62fe6ed39d3db7f8c2bebb4b41b6b2f37c7f666
# Parent  2fdc9cc8950252f88f077335fb7d0890f1e4d5f1
Disable strict parsing of email addresses.

diff -r 2fdc9cc89502 -r b62fe6ed39d3 org/sonews/mlgw/MailPoller.java
--- a/org/sonews/mlgw/MailPoller.java	Wed Jul 22 14:04:05 2009 +0200
+++ b/org/sonews/mlgw/MailPoller.java	Wed Aug 12 16:38:11 2009 +0200
@@ -19,7 +19,6 @@
 package org.sonews.mlgw;
 
 import java.util.Properties;
-import javax.mail.Address;
 import javax.mail.AuthenticationFailedException;
 import javax.mail.Authenticator;
 import javax.mail.Flags.Flag;
@@ -84,6 +83,7 @@
         // Create empty properties
         Properties props = System.getProperties();
         props.put("mail.pop3.host", host);
+        props.put("mail.mime.address.strict", "false");
 
         // Get session
         Session session = Session.getInstance(props);