我想使用点击操作按钮(https://developers.google.com/gmail/markup/reference/one-click-action#confirm_action)来确认简报订阅。
我使用以下代码列入白名单:
<script type="application/ld+json">
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ConfirmAction",
"name": "Confirm Subscription",
"handler": {
"@type": "HttpActionHandler",
"url": "http://www.ourdomain.net/newsletter/confirm/somehash"
}
},
"description": "Confirm Subscription"
}
</script>
和发件人邮件地址(例如info@test-environment.net,info@service-mail.ourdomain.net)
到目前为止一切正常 - 按钮显示并链接到脚本提供的URL。但是当点击它时,我收到消息:
Unable to send request to test-environment.net.
为什么谷歌会将请求发送到邮件的发件人域而不是脚本提供的网址?
感谢任何帮助!