2016-05-16 3 views
1

RSVPアクションでイベントを送信しようとしていますが、Gmailの受信トレイにボタンが表示されていません。 私はこのコードをしようとしています:https://developers.google.com/gmail/markup/reference/rsvp-actionGmailのRSVPの操作が機能しない

<div itemscope itemtype="http://schema.org/Event"> 
    <meta itemprop="name" content="Taco Night"/> 
    <meta itemprop="startDate" content="2015-04-18T15:30:00Z"/> 
    <meta itemprop="endDate" content="2015-04-18T16:30:00Z"/> 
    <div itemprop="location" itemscope itemtype="http://schema.org/Place"> 
    <div itemprop="address" itemscope itemtype="http://schema.org/PostalAddress"> 
     <meta itemprop="name" content="Google"/> 
     <meta itemprop="streetAddress" content="24 Willie Mays Plaza"/> 
     <meta itemprop="addressLocality" content="San Francisco"/> 
     <meta itemprop="addressRegion" content="CA"/> 
     <meta itemprop="postalCode" content="94107"/> 
     <meta itemprop="addressCountry" content="USA"/> 
    </div> 
    </div> 
    <div itemprop="potentialAction" itemscope itemtype="http://schema.org/RsvpAction"> 
    <div itemprop="handler" itemscope itemtype="http://schema.org/HttpActionHandler"> 
     <link itemprop="url" href="http://example.com/rsvp?eventId=123&value=yes"/> 
    </div> 
    <link itemprop="attendance" href="http://schema.org/RsvpAttendance/Yes"/> 
    </div> 
    <div itemprop="potentialAction" itemscope itemtype="http://schema.org/RsvpAction"> 
    <div itemprop="handler" itemscope itemtype="http://schema.org/HttpActionHandler"> 
     <link itemprop="url" href="http://example.com/rsvp?eventId=123&value=no"/> 
    </div> 
    <link itemprop="attendance" href="http://schema.org/RsvpAttendance/No"/> 
    </div> 
    <div itemprop="potentialAction" itemscope itemtype="http://schema.org/RsvpAction"> 
    <div itemprop="handler" itemscope itemtype="http://schema.org/HttpActionHandler"> 
     <link itemprop="url" href="http://example.com/rsvp?eventId=123&value=maybe"/> 
    </div> 
    <link itemprop="attendance" href="http://schema.org/RsvpAttendance/Maybe"/> 
    </div> 
</div> 

ここはチュートリアルのと同じです。私は自分の電子メール[email protected]にGoogle Codeスクリプトで送信しています。なぜそれが動作していないのか誰かが知っていますか?

答えて

1

@MartinHromádko、それを動作させるには、startDateを将来使用する必要があります。あなたのstartDateとendDateを変更してみてください。あなたのためにRSVPアクションが有効です。

+0

ありがとう、私はそれに気付かなかった。今それは正常に動作しています。 –

関連する問題