how can i send a json+ld schema.org email to myself in gmail

China☆狼群 提交于 2019-12-09 16:30:51

问题


gmail recently announced schema.org support for in-app and one-click actions. They note that one can immediately test out the schema by sending an email from oneself to oneself i.e. from x@gmail.com to x@gmail.com (1)

My question is how do i send an email with the json+ld schema.org markup - I can only send text and/or html and if i try to send using mailgun / sendgrid etc. than the email won't be from x@gmail.com

So, how do i test this??

(1) https://developers.google.com/gmail/schemas/registering-with-google


回答1:


Many options, three that come into my mind right now are:

  1. use the Apps Script Gmail service, as shown in our Apps Script quickstart guide
  2. use App Engine as in the end-to-end example in the documentation
  3. connect to Gmail via SMTP to send emails from there


来源:https://stackoverflow.com/questions/16576968/how-can-i-send-a-jsonld-schema-org-email-to-myself-in-gmail

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!