In order to leverage this feature, first of all, you must have defined the unsubscribe groups in MassMailer.


Also, at the time of sending emails, you must select an unsubscribe group from the list.



Option 1:


The following is the HTML code snippet if that you can add in your emails and style it the way you wanted by modifying the HTML code. This code will add the links with the default anchor text.


<div class="our-class">

  <%asm_group_unsubscribe_url%> |

  <%asm_global_unsubscribe_url%> |

  <%asm_preferences_url%>

</div>


If you are using the MassMailer Template Builder as shown below, please make sure that you use the HTML content type.



Option 2:


The following is the HTML code snippet if that you can add in your emails and style it the way you wanted by modifying the HTML code. This code will add the links with your own custom anchor text for the links.

The Bold text below can be changed as per your needs.

<div class="our-class">

  <a href="<%asm_group_unsubscribe_raw_url%>">

    Custom Text: Unsubscribe From This Group</a> |

  <a href="<%asm_global_unsubscribe_raw_url%>">

    Custom Text: Unsubscribe From All</a> |

  <a href="<%asm_preferences_raw_url%>">

    Custom Text: Manage Email Preferences</a>

</div>



If you are using the MassMailer Template Builder as shown below, please make sure that you use the HTML content type.





This is how the email appears when you send it to any recipient using MassMailer by selecting any of the unsubscribe groups in the outreach wizard in the sender options.