2

有没有办法从收件箱操作中简单地识别和返回用户的电子邮件地址。

例如

<script type="application/ld+json">
{
  "@context": "http://schema.org",
  "@type": "ConfirmAction",
  "name": "My Birthday Party",
  ... information about the event ...
  "action": {
    "@type": "RsvpAction",
    "actionHandler": {
      "@type": "HttpActionHandler",
      "url": "https://mysite.com/rsvp?email_address=USERS'S EMAIL ADDRESS HERE",
      "method": "POST",
      "requiredProperty": "rsvpStatus",
    }
  }
}
</script>

我们组织的所有用户都使用 Gmail 帐户,因此无需生成其他标识符来代替上面链接中显示的“email_address=USERS'S EMAIL ADDRESS HERE”,因为我们已经记录了他们的电子邮件地址。

谢谢你。

4

1 回答 1

1

不,这不受支持。您要么需要在发送电子邮件时设置该电子邮件地址参数,要么使用此处所述的受限使用访问令牌:https ://developers.google.com/gmail/actions/actions/limited-use-access-tokens

于 2014-08-14T13:49:58.430 回答