Louis Adekoya
Posts: 0
Joined: Sun Nov 17, 2013 10:51 pm

Unexpected String error in server script trace, using Sendgrid Unsubscribe tag

The new sendgrid marketing API for sending a campaign requires the campaign to have an unsubscribe tag. When trying to create the campaign with this tag, I try to do so by adding the following to the html body :
code
<a href="[unsubscribe]">Unsubscribe from these emails</a>
/code
This is as described in https://sendgrid.com/docs/User_Guide/...

When I do this however, the script fails with an unexpected string error. Is there a way to escape or encode this string "[unsubscribe]" to make it work?

Return to “Issues”