sendgrid - Sendgrid退订链接不可点击?
问题描述
我正在使用取消订阅组使用动态模板发送电子邮件,但链接不可点击
dynamic_template_data = {
"asmGroupUnsubscribeUrl": "<%asm_group_unsubscribe_url%>",
}
我在 html 中使用了动态模板数据,创建了一个取消订阅组并发送了这样的组 ID:
data = {"personalizations": [{
"to": [
{
"email": email
}
],
"dynamic_template_data": dynamic_template_data,
"asm": {
"group_id":111,
"groups_to_display": [111],
},
}....
有什么我应该添加或做错什么吗?我在 html 中使用它作为:尝试了很多东西,但没有任何效果
<a href="{{asmGroupUnsubscribeUrl}}">Unsubscribe</a>
解决方案
推荐阅读
- angular - 如果名称重复,堆叠器水平条形图不显示正确的数据
- javascript - 从类 javascript 中调用函数
- php - 无法将双引号参数传递给 php shell
- laravel - 在 Laravel 中仅向 1 个用户发送推送通知
- java - 如何检查代码是否在后台运行?
- mysql - Spring Boot,执行自定义查询
- android - Delphi Android项目中是否可以有2个活动,第二个活动在运行后在哪里显示一个简单的表单?
- php - 知道为什么我的查询只适用于第一个但在第二个 isset 什么都没有发生
- wpf - 定义 DataGridTextColumn 工具提示的样式
- c# - asp.net gridview 列的总和和数量