我正在尝试使用 Gmail“快速操作”在 Gmail 主题行中添加“转到操作”,但每次在邮件主题中都没有操作链接。
这是我的邮件正文:
<html>
<head>
<script type="application/ld+json">
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"description": "Check this out",
"action": {
"@type": "ViewAction",
"url": "https://www.youtube.com/watch?v=eH8KwfdkSqU"
}
}
</script>
</head>
<body>
<p>
This a test for a Go-To action in Gmail.
</p>
</body>
</html>
谁能帮我找出问题所在?
最佳答案
请注意,邮件必须通过 DKIM 或 SPF 进行身份验证,并且您必须在 Google 上注册。无需注册,当您向自己发送电子邮件时,它才有效。
您可以在这里找到更多信息:https://developers.google.com/gmail/actions/registering-with-google
关于gmail - 如何使用 Schema.org 在 Gmail 主题行中添加转到操作?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/22318432/