Thank you for your feedback.
Form temporarily unavailable. Please try again or contact docfeedback@servicenow.com to submit your comments.
Versions
  • London
  • Kingston
  • Jakarta
  • Istanbul
  • Helsinki
  • Geneva
  • Store
Close

Add an unsubscribe link to an email message

Add an unsubscribe link to an email message

You can add an Unsubscribe link to the bottom of any email body so users can unsubscribe from any subscription-based notification.

Before you begin

Role required: admin

Procedure

Paste the following code into an email notification or template:
template.print( '<a href="' + gs.getProperty('glide.servlet.uri') + 'unsubscribe.do?sysparm_notification=' + email_action.sys_id + '">Unsubscribe</a><br/>\n');