问题
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:
- use the Apps Script Gmail service, as shown in our Apps Script quickstart guide
- use App Engine as in the end-to-end example in the documentation
- 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