In the Email Experience Manager (EXM), an email campaign might remain In progress indefinitely after all the messages have been sent. The issue occurs when a Primary Content Management (CM) server is configured along with a Dedicated Email Dispatch Server (DDS) in such a way that the dispatch on the Primary CM server is disabled.
To resolve the issue, consider one of the following options:
Be aware that the hotfix was built for the specific Sitecore XP version and must not be installed on other Sitecore XP versions or in combination with other hotfixes. In case any other hotfixes have already been installed on a certain Sitecore XP instance, send a request for a compatibility check to Sitecore Support.
Note that the ZIP file contents must be extracted to locate installation instructions and related files inside. The hotfix must be installed on a CM instance and then synced with other instances using standard development practices.
<processor type="Sitecore.EmailCampaign.Cm.Pipelines.DispatchNewsletter.WaitForDispatchToFinish, Sitecore.EmailCampaign.Cm" resolve="true" />
with the following line:
<processor type="Sitecore.EmailCampaign.Cm.Pipelines.DispatchNewsletter.SendMessage, Sitecore.EmailCampaign.Cm" resolve="true" />
<setting name="NumberThreads" value="1" />In this way, the dispatch on the CM server is enabled, but the CM server sends the minimal number of messages.
<processor type="Sitecore.EmailCampaign.Cm.Pipelines.SendEmail.Sleep, Sitecore.EmailCampaign.Cm"> <param desc="sleep">1000</param> </processor>
Note: The values must be patched by creating a configuration patch file in the \App_Config\Include\zzz folder.