Included Recipient count is not updated if content language differs from English


Description

In cases where the Default Content Language is not set to English, users might experience incorrect counting of included recipients that have been added from the List Manager when creating email campaigns in the Email Experience Manager.

Solution

To resolve the issue, take the following steps:

  1. In the \App_Config\Sitecore\EmailExperience\Sitecore.EmailExperience.Core.config file, change the value of EXM.UseContextContentLanguage setting to true:
    <setting name="EXM.UseContextContentLanguage" value="true" />
  2. Add new site definitions for the EXM API controllers:
    <site name="exmapi" patch:before="site[@name='website']" rootPath="/noitem" virtualFolder="/sitecore/api/ssc/EXM" inherits="website" language="en" contentLanguage="en" />

    and

    <site name="lmapi" patch:before="site[@name='website']" rootPath="/noitem" virtualFolder="/sitecore/api/ssc/ListManagement" inherits="website" language="en" contentLanguage="en" />
    Important: This must be placed before all content site definitions.

  3. For all existing list items under \sitecore\system\Marketing Control Panel\Contact Lists, add a new version in the default "en" language and deploy it using the "Deploy" workflow action.