谷歌应用帐户是否有限制来测试带有架构的收件箱中的操作? 我尝试了这个例子,但收件箱中没有显示任何按钮。该应用是在appengine中使用Google Apps帐户创建的。
收到的邮件是:
Delivered-To: XXX@XXX.XXX
Received: by 10.70.62.71 with SMTP id w7csp85423pdr;
Fri, 24 May 2013 07:05:48 -0700 (PDT)
X-Received: by 10.236.167.199 with SMTP id i47mr2955609yhl.91.1369404348508;
Fri, 24 May 2013 07:05:48 -0700 (PDT)
Return-Path: <3vHOfUQoJBbMfXebTVbhglZfTbe.VhfWTkbhZnsbd.Vhf.Tk@2uix4h7xygsz66weerlq.apphosting.bounces.google.com>
Received: from mail-gh0-f200.google.com (mail-gh0-f200.google.com [209.85.160.200])
by mx.google.com with ESMTPS id x23si22785441yhx.39.2013.05.24.07.05.48
for <>
(version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128);
Fri, 24 May 2013 07:05:48 -0700 (PDT)
Received-SPF: pass (google.com: domain of 3vHOfUQoJBbMfXebTVbhglZfTbe.VhfWTkbhZnsbd.Vhf.Tk@2uix4h7xygsz66weerlq.apphosting.bounces.google.com designates 209.85.160.200 as permitted sender) client-ip=209.85.160.200;
Authentication-Results: mx.google.com;
spf=pass (google.com: domain of 3vHOfUQoJBbMfXebTVbhglZfTbe.VhfWTkbhZnsbd.Vhf.Tk@2uix4h7xygsz66weerlq.apphosting.bounces.google.com designates 209.85.160.200 as permitted sender) smtp.mail=3vHOfUQoJBbMfXebTVbhglZfTbe.VhfWTkbhZnsbd.Vhf.Tk@2uix4h7xygsz66weerlq.apphosting.bounces.google.com
Received: by mail-gh0-f200.google.com with SMTP id 10so4957746ghy.11
for <dario@guzik.com.ar>; Fri, 24 May 2013 07:05:48 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=google.com; s=20120113;
h=mime-version:x-google-appengine-app-id
:x-google-appengine-app-id-alias:message-id:date:subject:from:to
:content-type;
bh=n8aFUSbA2kvCJ/59rvtGWdxlui8OxMGQ5/fz19U42U4=;
b=LU3rJDyKh6s//uWbPE7zNz/lruJG/vvNpFPQ0E40WudqLbErdX5gvYn2nVl0YYshza
AtX6ORgZ4sYbG7CGem1DcTX4IlOzBUBJ8e96ep4qeR671eNOUU9nCdlDToZIoQXxu5Ic
fWQBY6e0o4axoDJQAcb0SmYmRXbT9hyUq+pL3uPX2Girqpy3pQ96mPXm9GRgnnGpagjO
c1jc1pZbmGJcyxlV79rndskRX8bby5MixeHe61DFlD8UhaVgLf/jjlJ+ifKsIa/TKk4h
aEqvH4edRoiCbyPUfu2zg1VtGMGbHbSfqJKeHJgYfYty8ZhwrJm21lqzQowuZayt1txc
PkYQ==
MIME-Version: 1.0
X-Received: by 10.58.152.171 with SMTP id uz11mr4806341veb.12.1369404348030;
Fri, 24 May 2013 07:05:48 -0700 (PDT)
X-Google-Appengine-App-Id: s~meliacions
X-Google-Appengine-App-Id-Alias: meliacions
Message-ID: <089e0122a452b7eca104dd774b04@google.com>
Date: Fri, 24 May 2013 14:05:48 +0000
Subject: Please review Google Cafe
From: dario@guzik.com.ar
To: dario@guzik.com.ar
Content-Type: multipart/alternative; boundary=089e0122a452b7ec9504dd774b01
--089e0122a452b7ec9504dd774b01
Content-Type: text/plain; charset=ISO-8859-1; format=flowed; delsp=yes
Dear John, please rate Google Cafe between 1 and 5 stars and, optionally,
add a text comment.
--089e0122a452b7ec9504dd774b01
Content-Type: text/html; charset=ISO-8859-1
<html>
<head>
<title>Did you enjoy Google Cafe?</title>
<script type="application/ld+json">
{
"@context": "schema.org",
"@type": "EmailMessage",
"description": "Approval request for John's $10.13 expense for office supplies",
"action": {
"@type": "ConfirmAction",
"name": "Approve Expense",
"handler": {
"@type": "HttpActionHandler",
"url": "https://meliacions.appspot.com/approve?expenseId=abc123"
}
}
}
</script>
</head>
<body>
<p>
Dear John, please rate Google Cafe between 1 and 5 stars and, optionally, add a text comment.
</p>
</body>
</html>
--089e0122a452b7ec9504dd774b01--
答案 0 :(得分:4)
Google应用帐户似乎无法用于测试目的。使用应用程序脚本,测试不适用于我使用我的应用程序帐户登录(与gmail.com不同的域的邮件)。相同的脚本使用域名gmail.com的“普通”谷歌帐户。 有趣的是(自动)将邮件从gmail.com帐户转发到谷歌应用程序帐户也显示了谷歌应用程序帐户中的操作按钮。所以看起来,一般来说,这个功能本身已经可以在谷歌应用程序中使用,就像在普通的谷歌帐户中一样,除了“发送邮件给自己进行测试” - 特征只适用于gmail.com帐户。
答案 1 :(得分:2)
根据页面顶部的警告,Gmail目前不支持“审核操作”。我们预计它会在下个月推出。