Configure the store to avoid sending multiple marketing e-mails to the same email address

We can add an attribute to the WebSphere Commerce configuration file to prevent the server from sending multiple emails to the same address for the same email activity. This attribute can prevent the server from sending the emails even when the email address belongs to different users. This configuration ensures that a customer who registers as more than one user but supplies the same email address for each user receives only one email per email activity.


Procedure

  1. Open the WebSphere Commerce configuration file.

  2. Locate the section of the file that starts with the <Instance> element.

  3. Within the <Instance element, add the attribute filterDuplicateEmails="true", as shown in the following example:

      <Instance BootstrapMulti="wcs.bootstrap_multi_en_US.xml,"
       ....
       InstanceName="demo"
       filterDuplicateEmails="true"
       InstanceType="local"
       ...
       WCSInstallDir="WC_installdir"
       WorkspacePath="" />

  4. Save and close the file.


Related concepts
Email activities
Email templates


Related tasks
Configure email activity accounts
Improving Email activity sending performance
Forcing email activities to be sent right away during testing
Viewing emails that were not delivered


Related reference
Troubleshooting: Marketing activity is not sending email messages as expected