2017-07-27 48 views
0

我有一個電子郵件中的標記:谷歌事件電子郵件不顯示動作卡?

  <html> 

     <script type="application/ld+json"> 
{ 
    "@context": "http://schema.org", 
    "@type": "Event", 
    "name": "Taco Night", 
    "startDate": "2015-04-18T15:30:00Z", 
    "endDate": "2015-04-18T16:30:00Z", 
    "location": { 
    "@type": "Place", 
    "address": { 
     "@type": "PostalAddress", 
     "name": "Google", 
     "streetAddress": "24 Willie Mays Plaza", 
     "addressLocality": "San Francisco", 
     "addressRegion": "CA", 
     "postalCode": "94107", 
     "addressCountry": "USA" 
    } 
    }, 
    "potentialAction": [ 
    { 
     "@type": "RsvpAction", 
     "handler": { 
     "@type": "HttpActionHandler", 
     "url": "http://example.com/rsvp?eventId=123&value=yes" 
     }, 
     "attendance": "http://schema.org/RsvpAttendance/Yes" 
    }, 
    { 
     "@type": "RsvpAction", 
     "handler": { 
     "@type": "HttpActionHandler", 
     "url": "http://example.com/rsvp?eventId=123&value=no" 
     }, 
     "attendance": "http://schema.org/RsvpAttendance/No" 
    }, 
    { 
     "@type": "RsvpAction", 
     "handler": { 
     "@type": "HttpActionHandler", 
     "url": "http://example.com/rsvp?eventId=123&value=maybe" 
     }, 
     "attendance": "http://schema.org/RsvpAttendance/Maybe" 
    } 
    ] 
} 
</script> 

      <body> 
      HI 
      </body> 
     </html> 

但是,當我使用他們的電子郵件標記測試工具,我得到的只是沒有任何關係,但「HI」純文本電子郵件。我如何獲得該谷歌卡的議程和事件的是,否,也許按鈕?

回答

0

我該如何獲得該谷歌卡的議程和事件的是,否,也許按鈕?

RsvpAction 可以用於從收件箱中 內響應於事件的邀請。收件箱通過顯示 事件的詳細信息以及 發件人定義的是/否/可能回覆的組合來呈現此操作。

查看官方Email Markup guide瞭解更多信息。