svn commit: r471364 - /incubator/ofbiz/trunk/applications/content/src/org/ofbiz/content/email/EmailServices.java

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r471364 - /incubator/ofbiz/trunk/applications/content/src/org/ofbiz/content/email/EmailServices.java

hansbak-2
Author: hansbak
Date: Sat Nov  4 21:10:54 2006
New Revision: 471364

URL: http://svn.apache.org/viewvc?view=rev&rev=471364
Log:
store email 'to' address irrespective if party found of not

Modified:
    incubator/ofbiz/trunk/applications/content/src/org/ofbiz/content/email/EmailServices.java

Modified: incubator/ofbiz/trunk/applications/content/src/org/ofbiz/content/email/EmailServices.java
URL: http://svn.apache.org/viewvc/incubator/ofbiz/trunk/applications/content/src/org/ofbiz/content/email/EmailServices.java?view=diff&rev=471364&r1=471363&r2=471364
==============================================================================
--- incubator/ofbiz/trunk/applications/content/src/org/ofbiz/content/email/EmailServices.java (original)
+++ incubator/ofbiz/trunk/applications/content/src/org/ofbiz/content/email/EmailServices.java Sat Nov  4 21:10:54 2006
@@ -816,10 +816,10 @@
             if (partyIdTo != null) {
                 commEventMap.put("partyIdTo", partyIdTo);              
                 commEventMap.put("contactMechIdTo", contactMechIdTo);
-            } else {
-                commNote += "Sent to: " + ((InternetAddress)addressesTo[0]).getAddress()  + "; ";
-                commNote += "Delivered-To: " + deliveredTo + "; ";
             }
+            
+            commNote += "Sent to: " + ((InternetAddress)addressesTo[0]).getAddress()  + "; ";
+            commNote += "Delivered-To: " + deliveredTo + "; ";
 
             if (partyIdTo != null && partyIdFrom != null) {
                 commEventMap.put("statusId", "COM_ENTERED");