ofbiz-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jler...@apache.org
Subject svn commit: r488137 - /incubator/ofbiz/trunk/framework/service/src/org/ofbiz/service/mail/JavaMailContainer.java
Date Mon, 18 Dec 2006 06:49:53 GMT
Author: jleroux
Date: Sun Dec 17 22:49:52 2006
New Revision: 488137

URL: http://svn.apache.org/viewvc?view=rev&rev=488137
Log:
A patch from Stefan Huehner "JavaMailContainer is broken for all password not consisting of
only lowercase characters" (https://issues.apache.org/jira/browse/OFBIZ-543).

Modified:
    incubator/ofbiz/trunk/framework/service/src/org/ofbiz/service/mail/JavaMailContainer.java

Modified: incubator/ofbiz/trunk/framework/service/src/org/ofbiz/service/mail/JavaMailContainer.java
URL: http://svn.apache.org/viewvc/incubator/ofbiz/trunk/framework/service/src/org/ofbiz/service/mail/JavaMailContainer.java?view=diff&rev=488137&r1=488136&r2=488137
==============================================================================
--- incubator/ofbiz/trunk/framework/service/src/org/ofbiz/service/mail/JavaMailContainer.java
(original)
+++ incubator/ofbiz/trunk/framework/service/src/org/ofbiz/service/mail/JavaMailContainer.java
Sun Dec 17 22:49:52 2006
@@ -149,7 +149,7 @@
             while (i.hasNext()) {
                 Map.Entry e = (Map.Entry) i.next();
                 ContainerConfig.Container.Property p = (ContainerConfig.Container.Property)
e.getValue();
-                props.setProperty(p.name.toLowerCase(), p.value.toLowerCase());
+                props.setProperty(p.name.toLowerCase(), p.value);
             }
         }
         return Session.getInstance(props);
@@ -180,7 +180,7 @@
             store.connect();
             store.close();
         } catch (MessagingException e) {
-            Debug.logError("Unable to connect to mail store : " + store.getURLName().toString(),
module);
+            Debug.logError("Unable to connect to mail store : " + store.getURLName().toString()
+ " : " + e.getMessage(), module);
         }
 
         return store;



Mime
View raw message