Skip to content

Instantly share code, notes, and snippets.

@hishaamn
Created March 4, 2024 17:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hishaamn/156ca5b33731ed4b147609502e436d41 to your computer and use it in GitHub Desktop.
Save hishaamn/156ca5b33731ed4b147609502e436d41 to your computer and use it in GitHub Desktop.
<configuration xmlns:patch="http://www.sitecore.net/xmlconfig/" xmlns:role="http://www.sitecore.net/xmlconfig/role/">
<sitecore role:require="Standalone or ContentManagement">
<pipelines>
<DispatchNewsletter role:require="!DedicatedDispatch">
<processor type="Sitecore.EmailCampaign.Cm.Pipelines.DispatchNewsletter.SendMessage, Sitecore.EmailCampaign.Cm" resolve="true">
<patch:delete/>
</processor>
<!-- The WaitForDispatchToFinish pipeline processor should only be enabled if you have at least one dedicated dispatch server enabled. If you enable this processor you should disable the SendMessage processor. -->
<processor type="MyNamespace.WaitForDispatchToFinishExt, MyAssembly" resolve="true" patch:before="*[@type='Sitecore.EmailCampaign.Cm.Pipelines.DispatchNewsletter.MoveToSent, Sitecore.EmailCampaign.Cm']">
<TimeToWaitBetweenChecks>1000</TimeToWaitBetweenChecks>
</processor>
</DispatchNewsletter>
</pipelines>
</sitecore>
</configuration>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment