【发布时间】:2017-01-31 12:12:03
【问题描述】:
我正在尝试将以下脚本添加到 sendgrid 模板中
<script type="application/ld+json">
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://watch-movies.com/watch?movieId=abc123",
"name": "Watch movie"
},
"description": "Watch the 'Avengers' movie online"
}
</script>
保存 sendgrid 模板时,它显示已保存成功,但实际上刷新时并没有保存。我猜 sendgrid 不允许将脚本添加到电子邮件中。 我的目的是添加 gmail 操作(请参阅 https://developers.google.com/gmail/markup/reference/go-to-action)
【问题讨论】:
标签: sendgrid