[ 
https://issues.apache.org/jira/browse/OFBIZ-10879?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16805651#comment-16805651
 ] 

Pawan Verma commented on OFBIZ-10879:
-------------------------------------

Hi [~uHeidfeld] ,

 

Your approach and patch look good to me, I have slightly updated patch and used 
EntityUtilProperties instead of UtilProperties. 

> updateCommEventAfterEmail: Restore original sendTo/sendCc/sendBcc recipients 
> from mail subject for general redirected mails
> ---------------------------------------------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-10879
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-10879
>             Project: OFBiz
>          Issue Type: Bug
>            Reporter: Ulrich Heidfeld
>            Assignee: Ulrich Heidfeld
>            Priority: Minor
>         Attachments: OFBIZ-10879.patch, OFBIZ-10879.patch
>
>
> "updateCommEventAfterEmail" method in CommunicationEventServices.java could 
> generate  wrong result. If general.properties value 
> "mail.notifications.redirectTo" is used, it is possible that the subject 
> string has more than 255 character. 
> Now:
> {code:java}
> Original subject [To: <sendTo>, Cc: <sendCc>, Bcc: <sendBcc>]
> {code}
> Solution:
> {code:java}
> Original subject [RedirectedTo: [email protected]]
> {code}
> In this way we have fixed this in one of our OFBiz forks. 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to