You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by jo...@apache.org on 2006/08/08 08:03:21 UTC

svn commit: r429595 - /incubator/ofbiz/trunk/framework/service/src/org/ofbiz/service/mail/JavaMailContainer.java

Author: jonesde
Date: Mon Aug  7 23:03:20 2006
New Revision: 429595

URL: http://svn.apache.org/viewvc?rev=429595&view=rev
Log:
Made change recommended by Scott Gray to move to better behavior when a mail store can't be connected to on startup, ie keep track of it anyway and just log messages over time about failure; I agree that it seems silly to give up on it for as long as the server is running just because we couldn't connect on startup; Apache Jira #OFBIZ-140

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?rev=429595&r1=429594&r2=429595&view=diff
==============================================================================
--- 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 Mon Aug  7 23:03:20 2006
@@ -185,7 +185,6 @@
             store.close();
         } catch (MessagingException e) {
             Debug.logError("Unable to connect to mail store : " + store.getURLName().toString(), module);
-            return null;
         }
 
         return store;