Author: hansbak
Date: Sun Oct  8 22:20:01 2006
New Revision: 454288

URL: http://svn.apache.org/viewvc?view=rev&rev=454288
Log:
also store the personal name of the from emailaddress in the communicationevent 
in the info section when the emailaddress is not recognzed

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=454288&r1=454287&r2=454288
==============================================================================
--- 
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
 Sun Oct  8 22:20:01 2006
@@ -807,6 +807,7 @@
                        commEventMap.put("contactMechIdFrom", 
contactMechIdFrom);
             } else {
                 commNote += "Sent from: " +  
((InternetAddress)addressesFrom[0]).getAddress() + "; ";
+                commNote += "Sent Name from: " + 
((InternetAddress)addressesFrom[0]).getPersonal() + "; ";
             }
 
             if (partyIdTo != null) {


Reply via email to