sendgrid / email-templates

A repository of common email templates to use and modify to your heart's content.
https://sendgrid.com
MIT License
818 stars 987 forks source link

Unable to get unsubscribes to work #90

Open rohit-ptl opened 3 years ago

rohit-ptl commented 3 years ago

Actual Behaviour

The unsubscribe links in the dynamic templates do not work despite passing the unsubscribe group id with web api call.

Expected Behaviour

Passing the Unsubscribe Group ID with the test data would have working unsubscribe and unsubscribe preferences buttons with dynamic templates.

Steps to reproduce it

  1. Create a dynamic template with design editor or code editor
  2. If code editor, use one of the dynamic templates in this github repo, if design editor add the unsubscribe module to email
  3. Enter the test data and pass the unsubscribe group id in addition to other test data
  4. Send test email

LogCat for the issue

NA

Screenshots of the issue

NA

Would you like to work on the issue?

No

rohit-ptl commented 3 years ago

These appears to work when passing them using the design editor and API call not using sendgrid test email functionality. So It appears to be an issue of the test email functionality, and lack of documentation on how to get it to work with code editor. Additionally, it appears the information on how to pass the group id can only be obtained through sendgrid support as there is no documentation of it anywhere.