A post by Dirk Schäfauer.

One of our customers reported an error that recipients are not displayed in an EXM newsletter, although lists are attached to the newsletter.

EXMContentLanguage

On the left is the default admin with client language "en", on the right is another admin with client language "de-DE".

After talking to the Sitecore Support they told me this is a known issue and is related to the client language of the user.

The issue is described here: Included Recipient count is not updated if content language differs from English - Sitecore Knowledge Base.

We patched the setting and the "exmapi" site like this:

<?xml version="1.0" encoding="utf-8"?>
<configuration xmlns:patch="http://www.sitecore.net/xmlconfig/"  xmlns:role="http://www.sitecore.net/xmlconfig/role/">
    <sitecore>
        <settings>
            <setting name="EXM.UseContextContentLanguage">
                <patch:attribute name="value">true</patch:attribute>
            </setting>
        </settings>
        <sites>
            <site name="exmapi" patch:before="*[1]" virtualFolder="/sitecore/api/ssc/EXM" inherits="website" language="en" contentLanguage="en" />
        </sites>
    </sitecore>
</configuration>

Happy Patching
Dirk

The author

dirk-autor
Dirk Schäfauer
Dirk bei LinkedIn

Header-Grafik von unsplash-logoFranck V..