Author: lektran
Date: Sun Jul 8 23:39:09 2007
New Revision: 554536
URL:
http://svn.apache.org/viewvc?view=rev&rev=554536Log:
Applied fix from trunk for revision: 552216
Modified:
ofbiz/branches/release4.0/framework/service/src/org/ofbiz/service/mail/JavaMailContainer.java
Modified: ofbiz/branches/release4.0/framework/service/src/org/ofbiz/service/mail/JavaMailContainer.java
URL:
http://svn.apache.org/viewvc/ofbiz/branches/release4.0/framework/service/src/org/ofbiz/service/mail/JavaMailContainer.java?view=diff&rev=554536&r1=554535&r2=554536==============================================================================
--- ofbiz/branches/release4.0/framework/service/src/org/ofbiz/service/mail/JavaMailContainer.java (original)
+++ ofbiz/branches/release4.0/framework/service/src/org/ofbiz/service/mail/JavaMailContainer.java Sun Jul 8 23:39:09 2007
@@ -118,6 +118,7 @@
Store store = this.getStore(session);
if (store != null) {
stores.put(store, session);
+ store.addStoreListener(new LoggingStoreListener());
}
}
@@ -270,7 +271,6 @@
}
protected void checkMessages(Store store, Session session) throws MessagingException, GeneralException {
- store.addStoreListener(new LoggingStoreListener());
store.connect();
// open the default folder