1. Home
  2. Knowledge Base
  3. GMS
  4. How can I create a dynamic message in the footer of each posting issuing details of how a user can un subscribe?

How can I create a dynamic message in the footer of each posting issuing details of how a user can un subscribe?

Question

You are creating multiple lists in GMS Communication Server by creating a template list and using the copy facility. You would like to enter an email address in each posting informing the recipient of how they can remove themselves from the list.

Answer

The script shown below will add a footer in the format of "listname-remove@domain name".

Ensure you have selected "Headers and Footers" from the "Execute MML within posted messages" drop down box on the Post > Processing page.

Select "Edit" and paste the script into the "Additional body" section. You should add any additional text required outside of the <# #> characters and click "Save".

Each message sent will now contain a footer showing the address a user should respond to if they wish to leave the list.

<#
Address = (mail);

user = ConvertToUser(Address);
domain = ConvertToDomain(Address);

Footer = ConvertToEmailAddress(user & "-remove",   domain);

print(Footer);
#>

See Also:

Keywords:GLCommunicator MML lists unsubsribe leave

Was this article helpful?

Related Articles

Need Support?

Can't find the answer you're looking for?
Contact Support