EXM 3.4

I am trying to find information on how to add a unsubscribe link to an email campaign/newsletter.

I did find an article regarding ECM where you could add a link like this:

<a href="/sitecore/Unsubscribe.aspx">
     <sc:Text runat="server" Field="Unsubscribe" Item="<%# this.DataSource. %>" />

and this link should then be transformed to

<a href="yoursite/.../RedirectUrlPage.aspx>                          
Are there a simular approach in EXM 3.4?


  • The links in a newsletter (not a test newsletter) are always transformed to the RedirectUrlPage.aspx. You can overwrite those settings in a custom config:

        <processor type="Sitecore.Modules.EmailCampaign.Core.Pipelines.GenerateLink.Hyperlink.SkipAlreadyProcessedHyperlink, Sitecore.EmailCampaign">
        <processor type="Sitecore.Modules.EmailCampaign.Core.Pipelines.GenerateLink.Hyperlink.GenerateHyperlink, Sitecore.EmailCampaign">

    or overwrite the OpenHandler Path:

      <setting name="EXM.OpenHandlerPath">
        <patch:attribute name="value">/newsletter/RegisterEmailOpened.ashx</patch:attribute>

    In our case we blocked the "sitecore"-folder in IIS, so we need a different location to make EXM work ;)

    Best regards