标签: google-schemas

Gmail扩展程序邮件计数无效

Gmail收件箱Feed最近出现了更新问题.它仅在连续2次更新后才更新,并且不同的电子邮件已标记为未读.

这是官方的Gmail收件箱原子供稿API,截至5月30日有许多扩展程序正在使用的问题:https: //developers.google.com/gmail/gmail_inbox_feed

它会影响所有Gmail检查扩展程序:

请注意,同样的问题也可以通过将电子邮件标记为已读而非未读来重现.

重现问题的步骤:

  1. 转到Gmail并将电子邮件标记为未读
  2. 点击"Checker Plus for Gmail"弹出窗口中的刷新,或在Google Mail Checker中等待1分钟
  3. 转到Gmail并将其他电子邮件标记为未读
  4. 点击"Checker Plus for Gmail"弹出窗口中的刷新,或在Google Mail Checker中等待1分钟

未读邮件计数未正确显示刷新后每个标记为未读的未读电子邮件数.它仅在连续2个标记后才能在不同的电子邮件中处于未读状态.

有没有做同样事情的变通办法或替代方案,还是我需要等待Google修复它?

gmail google-schemas

82
推荐指数
1
解决办法
4291
查看次数

使用Android进行Gmail API访问

我正在尝试使用Android应用程序访问Gmail API.我已成功请求并使用所有可用范围组合接收了访问令牌.但似乎每次我实际尝试使用Gmail API命令时,我都会得到一个403 exception reading: Access not configured please use Google developers console to activate the api...

不用说,API已激活,并且使用正确的包名称和sha1代码创建了客户端密钥.相同的客户端ID适用于Google Plus功能.

是否有任何人遇到此问题或成功连接到Android的Gmail API?

谢谢

这是日志:

09-04 21:40:54.014: W/System.err(26717): com.google.api.client.googleapis.json.GoogleJsonResponseException: 403 Forbidden
09-04 21:40:54.014: W/System.err(26717): {
09-04 21:40:54.014: W/System.err(26717):   "code" : 403,
09-04 21:40:54.014: W/System.err(26717):   "errors" : [ {
09-04 21:40:54.014: W/System.err(26717):     "domain" : "usageLimits",
09-04 21:40:54.014: W/System.err(26717):     "message" : "Access Not Configured. Please use Google Developers Console to activate the API for your project.",
09-04 21:40:54.014: W/System.err(26717):     "reason" : "accessNotConfigured"
09-04 …
Run Code Online (Sandbox Code Playgroud)

android google-oauth google-schemas google-oauth-java-client gmail-api

12
推荐指数
2
解决办法
5965
查看次数

电子邮件标记 - Gmail修改<script>标记以添加额外字符串"3D"

我正在使用Ruby on Rails生成电子邮件.如电子邮件标记文档中所述,我修改了我的(*.html.haml)模板以包含电子邮件标记的模式.下面的代码来自我的邮件模板:

%script{ type: "application/ld+json" }
  {
  "@context" : "http://schema.org",
  "@type" : "FoodEstablishmentReservation",
  "reservationNumber" : "#{reservation.id}",
  ...
  }
Run Code Online (Sandbox Code Playgroud)

我还将电子邮件的发件人和收件人修改为此处提到的用于在开发模式下测试架构的相同电子邮件ID .

当我在Gmail收件箱中收到电子邮件时,我发现之前没有任何不同之处.当我查看电子邮件的原始消息时,它显示:

Return-Path: <breezebhoewal@gmail.com>
...
Date: Wed, 21 Dec 2016 13:14:45 +0530
From: breezebhoewal@gmail.com
To: breezebhoewal@gmail.com
...
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary="--==_mimepart_585a32ecf2d94_143673fd10d24128893014"; charset=UTF-8
Content-Transfer-Encoding: 7bit

----==_mimepart_585a32ecf2d94_143673fd10d24128893014
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
...
<script type=3D'application/ld+json'>
  {
  "@context" : "http://schema.org",
  "@type" : "FoodEstablishmentReservation",
  "reservationNumber" : "<reservation-id>",
  ...
  }
</script>
...
Run Code Online (Sandbox Code Playgroud)

现在,如果我<script>电子邮件标记测试程序中 …

html email ruby-on-rails google-schemas

10
推荐指数
1
解决办法
1258
查看次数

如何在gmail中向自己发送json + ld schema.org电子邮件

gmail最近宣布schema.org支持应用内和一键式操作.他们注意到,可以通过发送自己的电子邮件立即测试模式,即从x@gmail.com发送到x@gmail.com(1)

我的问题是如何使用json + ld schema.org标记发送电子邮件 - 我只能发送文本和/或html,如果我尝试使用mailgun/sendgrid等发送,那么电子邮件将不会来自x @ gmail.com

那么,我该如何测试?

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

gmail schema.org google-schemas

8
推荐指数
1
解决办法
3563
查看次数

架构未在Google即时或Google搜索中显示

我正在使用App Script Tutorial将电子邮件发送到我的Gmail帐户.我一直在发送各种架构的电子邮件,以确定它们是否出现在其他Google产品中.根据此页面底部和此页面,Google即时和Google搜索结果中应显示航班和活动等架构.

我一直在使用Google Schema文档中的示例cut-paste用于以下类型...

  • 活动
  • 机票
  • 餐厅预订

但是,我无法将其中的任何内容显示在Google即时或Google搜索中.

电子邮件出现在Gmail中.如果我查看电子邮件的来源,我可以确认HTML源中存在架构信息.我将电子邮件发送到我自己的Gmail帐户(根据App脚本教程).

我已经确认App Script示例配置正确,因为如果我将Action模式嵌入到电子邮件中,我可以在Gmail中显示操作.但是,我希望测试其他模式和跨产品集成.

有人可以告诉我哪里可能出错了.有没有人能够使跨产品架构工作?使用此交叉生产功能是否有任何限制,例如对语言或位置的限制?(我无法找到任何暗示这一点的内容,但如果它仅限于美国/英国或其他东西,会不会感到惊讶?)

gmail google-search schema.org google-schemas google-now

6
推荐指数
1
解决办法
1170
查看次数

发送到其他Gmail帐户时,操作按钮不显示

使用Apps脚本向我自己发送电子邮件时,我的ViewAction按钮工作正常.(与登录时相同的Gmail帐户)

function testSchemas() {
  var htmlBody = HtmlService.createHtmlOutputFromFile('mail_template').getContent();

  MailApp.sendEmail({
    to: "myemail@gmail.com",
    subject: 'Test Actions in the Inbox - ' + new Date(),
    htmlBody: htmlBody    
  });
}
Run Code Online (Sandbox Code Playgroud)

将另一个Gmail帐户设置为收件人时,将不会显示操作按钮.我试过几个gmail帐户.

从它的角度来看,测试模式目前只有在发送给一个自己而不是其他gmail帐户时才有可能.这是真的?

我的动作按钮:

<html>
  <head>
    <script type="application/ld+json">
{
  "@context": "http://schema.org",
  "@type": "EmailMessage",
  "action": {
    "@type": "ViewAction",
    "name": "Test Action",
    "url": "https://mydomain.com/test"
  },
  "description": "Test action"
}
</script>
</head>
<body>
    <p>
      This a test for a Go-To action in Gmail.
    </p>
</body>
</html>
Run Code Online (Sandbox Code Playgroud)

工作标题:

Delivered-To: myemail@gmail.com
Received: by 10.112.167.104 with SMTP id zn8csp127915lbb;
        Tue, 13 …
Run Code Online (Sandbox Code Playgroud)

google-schemas

6
推荐指数
1
解决办法
3389
查看次数

Gmail电子邮件标记架构和Mailchimp

我想将Gmail电子邮件操作添加到我的出站电子邮件中:https://developers.google.com/gmail/markup/reference/offer?hl = zh-CN

使用mailchimp,我已经与Mailchimp验证了电子邮件是由DKIM签名的.

当我查看我发送的电子邮件标题时,我看到
邮件:mail171.suw12.mcsv.net
签名:mail171.suw12.mcsv.net

我希望看到,为了使用Gmail操作:
mailed-by:mycompany.net
签名:mycompany.net

Google拒绝提交的典型问题包括:
1)电子邮件的域未经过正确身份验证(DKIM,SPF).
2)经过身份验证的域与"发件人:"电子邮件的域名不匹配.
3)没有足够的音量发送到Gmail地址(每天需要超过100封电子邮件).
4)垃圾邮件声誉太低(来自用户/电子邮件的垃圾邮件投诉太多,无法作为垃圾邮件).

我已经验证2-4不是问题.

有没有人成功使用Mailchimp发送Gmail操作标记?

email gmail email-integration mailchimp google-schemas

6
推荐指数
0
解决办法
816
查看次数

Gmail收件箱查看操作 - "需要网址字段的值."

我正在尝试为重置密码的Gmail收件箱操作获取正确的标记.我正在使用电子邮件标记测试程序.

我的标记看起来像这样:

<div itemscope itemtype="http://schema.org/EmailMessage">
  <meta itemprop="description" content="Reset password instructions"/>
  <div itemprop="potentialAction" itemscope itemtype="http://schema.org/ViewAction">
    <meta itemprop="target" content="https://www.example.com/users/password/new?token=123"/>
    <meta itemprop="name" content="Reset Your Password"/>
  </div>
  <meta itemprop="description" content="Visit our site to reset your password."/>
</div>
Run Code Online (Sandbox Code Playgroud)

上面的标记返回错误:

url字段的值是必需的.

但我无法弄清楚该url字段应如何插入标记.甚至谷歌的例子都没有通过他们的标记验证器.

gmail html-email microdata schema.org google-schemas

6
推荐指数
1
解决办法
657
查看次数

Email that is automatically parsed by Gmail and adds a Calendar event

I hope this question is OK to ask here, given that it could replace my usage for Google Calendar API I think it should be OK.

https://stackoverflow.com/help/on-topic

When you get an email about an event like a flight, concert, or restaurant reservation, it's added to your calendar automatically.

https://support.google.com/calendar/answer/6084018?co=GENIE.Platform%3DDesktop&hl=en

I think this is a really neat feature but I would like to know If I can create an email that will automatically show up in my calendar myself. I'm currently …

c# email gmail google-calendar-api google-schemas

6
推荐指数
0
解决办法
2393
查看次数

如何在 Gmail 中发送电子邮件,以便在 Google 日历中自动创建活动

我有一个要求,我们需要发送电子邮件,以便在收件人帐户的 Google 日历中自动创建活动。

\n

要求:

\n
    \n
  • 确认后需要发邮件
  • \n
  • 该电子邮件应让 Google 接受它作为一个事件
  • \n
\n

假设:

\n
    \n
  • 假设确认电子邮件将包含一些与事件相关的详细信息,例如:\n
      \n
    • 地点
    • \n
    • 开始时间
    • \n
    • 活动名称等
    • \n
    \n
  • \n
\n

方法:

\n\n

悬而未决的问题是 \xe2\x80\x93 我们可以发送电子邮件,但事件尚未创建(即使在指定格式的电子邮件 HTML 之后)。\n有人可以告诉我如何发送电子邮件,以便Google 日历中会自动创建活动吗?

\n

笔记:

\n
    \n
  • 为了发送电子邮件,我在 C# 中使用了类似的东西
  • \n
  • 首先,我为发件人的电子邮件打开不太安全的应用程序访问。然后,我使用以下代码。
  • \n
\n
using System.Net;\nusing System.Net.Mail;\n\nvar fromAddress = new MailAddress("from@gmail.com", "From Name");\nvar …
Run Code Online (Sandbox Code Playgroud)

c# google-calendar-api google-schemas

6
推荐指数
0
解决办法
1016
查看次数