|Number of votes:||1|
Inserting an unsubscribe link into an HTML Template in EPiServerMail 4.4
In order to insert an unsubscribe link into an HTML template you can do as follows:
1) Looking at the contents of the EPiServerMail.config, you locate and copy the unsubscribeUrl value:
2) Then, you make a hyperlink out of the copied unsubscribeUrl value and insert it into the HTML template you have chosen.
Additional Note) When EPiServerMail is accessing the HTML Template the remoteaddress value is the address of the CMS server. This can be used to show/hide the unsubscribe link as necessary.
Final Note) Since EPiServer Mail 4.4 SP1 Hotfix 1, you can type §unsubscribeUrl§ in the href value instead of the value suggested above.
Disclaimer: Reasonable effort has been made by the author to ensure that the information provided here is accurate, however, no guarantees for the accuracy of information are made. You hold full responsibility for your actions - please remember to make a backup before making any changes.
Please login to comment.