Developer forum

Forum » Templates » e-mail marketing unsubscribe tag

e-mail marketing unsubscribe tag

Per Søgaard
Reply

On this page a unsubscribe link is described:

http://templates.dynamicweb-cms.com/TemplateTags/Dynamicweb-template-tags/Page-tags/Page/EmailMarketingEmail-UnsubscribeLink.aspx

<!--@EmailMarketing:Email.UnsubscribeLink.Clean-->
The tag is only rendered if sent to a mailclient.
If the receipient clicks Read online the tag is not rendered and clicking it results in a Server error in aplication error.

How can this last error be avoided.

Replies

 
Mikkel Ricky
Reply

Have you tried using @If Defined to check if the tag is set:

<!--@If Defined(EmailMarketing:Email.UnsubscribeLink.Clean)-->
<!--@EmailMarketing:Email.UnsubscribeLink.Clean-->
<!--@EndIf-->

?

Can you provide an example url showing the server error? Send me an email if you prefer to not share the link here.

Best regards,
Mikkel

 

 

 

You must be logged in to post in the forum