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

Ray Barlow commented on OFBIZ-1054:
-----------------------------------

In OFBiz you will find that ContactMech details are generally (if not always) 
immutable. Therefore the action of updating your email address actually expires 
the existing and creates a new one, try it and then click on the "Show old" 
link and you'll see more than one email contact entry.

Your patch, which I'm sure will get applied as it makes perfect sense, will 
show the problem very clearly once you update an email address already 
associated to a contact list the user will no longer get the newsletter. The 
contact list will remain associated with the old expired contactMechId as no 
code has relinked it, so it needs to be manually updated, hence the need for a 
jira issue to help the process.

Hope that makes sense,

Ray

> Filtering expired emails in sendEmailToContactList method
> ---------------------------------------------------------
>
>                 Key: OFBIZ-1054
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1054
>             Project: OFBiz
>          Issue Type: Bug
>          Components: marketing
>    Affects Versions: SVN trunk, Release Branch 4.0
>            Reporter: Bilgin Ibryam
>             Fix For: SVN trunk, Release Branch 4.0
>
>         Attachments: filter.patch
>
>
> Hi all,
> If you create a contact list with 'Contact Mechanism Type = email address' 
> and then create comm events (ie send email to parties in the Contact list), 
> you will see that the emails are sent to all parties in the contact list, 
> even to the expired email addresses. 
> With the attached patch the expired emails (PartyContactMech) are filtered.
> regards,
> -Bilgin 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to