【问题标题】:Sendgrid unsubscribe tag getting converted to htmlentitesSendgrid 取消订阅标签被转换为 html 实体
【发布时间】:2016-12-03 04:53:35
【问题描述】:

我对 Sendgrid 的组取消订阅替换标签有一个奇怪的问题。我直接在html模式下插入了标签<%asm_group_unsubscribe_url%>,保存,效果很好。当我进入设计模式并返回 html 模式时,标签将转换为 html 实体,如 <%asm_group_unsubscribe_url%> 并且无法正常工作。谁能帮我解决这个问题?

【问题讨论】:

  • 您好,因为这是一个关于 UI 而不是直接关于编程的问题,我建议联系 SendGrid 支持。

标签: html-email sendgrid


【解决方案1】:

只需删除

它不是 HTML 标记,它只是模板代码,因此您只需要 %whatever_unsub_url% 并且只要名称与您在 SendGrid 设置中设置的名称匹配,它就可以工作。它实际上只是打印链接,所以你可以做类似的事情

<a href="%sendgrid_unsub_url%">Click to unsubscribe.</a>

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2015-12-10
    • 1970-01-01
    • 2018-04-29
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2023-03-27
    • 2018-04-19
    相关资源
    最近更新 更多