我尝试从 <a href="https://stackoverflow.com/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="e199a1868c80888dcf828e8c" rel="noreferrer noopener nofollow">[email protected]</a>
发送电子邮件至<a href="https://stackoverflow.com/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="86fec6e1ebe7efeaa8e5e9eb" rel="noreferrer noopener nofollow">[email protected]</a>
以下消息(来自 https://developers.google.com/gmail/schemas/embedding-schemas-in-emails ):
Return-Path: <<a href="https://stackoverflow.com/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="4e3a2b3d3a272029603d2d262b232f0e29232f2722602d2123" rel="noreferrer noopener nofollow">[email protected]</a>>
Received: from ns398878.ovh.net ([2001:41d0:8:54ab::1])
by mx.google.com with ESMTPSA id ei6sm12344329wid.11.1969.12.31.16.00.00
(version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128);
Thu, 29 Aug 2013 06:10:15 -0700 (PDT)
Content-Type: text/html; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Subject: None
From: automat <<a href="https://stackoverflow.com/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="45312036312c2b226b36262d202824052228242c296b262a28" rel="noreferrer noopener nofollow">[email protected]</a>>
To: <a href="https://stackoverflow.com/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="0b7f6e787f62656c7868636e666a4b6c666a626725686466" rel="noreferrer noopener nofollow">[email protected]</a>
Date: Thu, 29 Aug 2013 13:10:15 -0000
Message-ID: <<a href="https://stackoverflow.com/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="cbf9fbfaf8fbf3f9f2faf8fafbfafee5f9f2f8fdf8e5f2fefbf2f98ba5b8f8f2f3f3fcf3e5a4bda3e5a5aebf" rel="noreferrer noopener nofollow">[email protected]</a>>
<html>
<body>
<script type="application/ld+json">
{
"@context": "http://schema.org",
"@type": "EventReservation",
"reservationNumber": "IO12345",
"underName": "John Smith",
"reservationFor": {
"@type": "Event",
"name": "Google I/O 2013",
"startDate": "2013-05-15T08:30:00-08:00",
"location": "Moscone Center, 800 Howard St., San Francisco, CA 94103"
}
}
</script>
<p>
Dear John, thanks for booking your Google I/O ticket with us.
</p>
<p>
BOOKING DETAILS<br/>
Reservation number: IO12345<br/>
Order for: John Smith<br/>
Event: Google I/O 2013<br/>
Start time: May 15th 2013 8:00am PST<br/>
Venue: Moscone Center, 800 Howard St., San Francisco, CA 94103<br/>
</p>
</body>
</html>
我认为我已经正确完成了所有操作,但收件箱中没有操作按钮。
最佳答案
我认为您需要使用 Google Apps 脚本进行测试。 https://developers.google.com/gmail/actions/apps-script-tutorial
我一直在尝试使用 SMTP 客户端向自己发送包含 schema.org 标记的电子邮件,但没有成功,但这对我来说直接有效。
关于Gmail 架构 - 不显示在收件箱中,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/18512735/