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 can experience incorrect counting of included recipients that have been added from List Manager when creating email campaigns in Email Experience Manager.

Solution

To resolve the issue, apply 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 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.