【问题标题】:I can't make the email markup for "Go-To Action" in email subject line我无法在电子邮件主题行中为“Go-To Action”添加电子邮件标记
【发布时间】:2015-12-03 07:29:25
【问题描述】:

我在安装“Go-To Action”的电子邮件标记时遇到问题。

我已经验证了 DKIM 和 SPF,这也是为什么此标记通常不起作用的常见原因。

任何人都可以检查代码并让我知道我错在哪里。我非常感谢。

Delivered-To: itviec+jobrobot@itviec.com
Received: by 10.27.205.69 with SMTP id d66csp3167041wlg;
        Wed, 2 Dec 2015 20:28:11 -0800 (PST)
X-Received: by 10.129.38.3 with SMTP id m3mr5208082ywm.306.1449116891561;
        Wed, 02 Dec 2015 20:28:11 -0800 (PST)
Return-Path: <bounce-md_30049822.565fc4db.v1-17b05f83d90c4afc98d45e7150460630@mandrillapp.com>
Received: from mail133-26.atl131.mandrillapp.com (mail133-26.atl131.mandrillapp.com. [198.2.133.26])
        by mx.google.com with ESMTPS id i184si3884636ywi.323.2015.12.02.20.28.11
        for <itviec+jobrobot@itviec.com>
        (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
        Wed, 02 Dec 2015 20:28:11 -0800 (PST)
Received-SPF: pass (google.com: domain of bounce-md_30049822.565fc4db.v1-17b05f83d90c4afc98d45e7150460630@mandrillapp.com designates 198.2.133.26 as permitted sender) client-ip=198.2.133.26;
Authentication-Results: mx.google.com;
       spf=pass (google.com: domain of bounce-md_30049822.565fc4db.v1-17b05f83d90c4afc98d45e7150460630@mandrillapp.com designates 198.2.133.26 as permitted sender) smtp.mailfrom=bounce-md_30049822.565fc4db.v1-17b05f83d90c4afc98d45e7150460630@mandrillapp.com;
       dkim=pass header.i=@itviec.com;
       dkim=pass header.i=@mandrillapp.com
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; s=mandrill; d=itviec.com;
 h=From:Subject:To:Message-Id:Date:MIME-Version:Content-Type; i=itviec+jobrobot@itviec.com;
 bh=9p1iDE8OCI5f1Cs1aLQ1TfefDaY=;
 b=WiDGxt547LeTZdT9OLDWHLDiYM4rDD5Ild9/g+w29AxZl8F8spWi51HOyZkrNcgXSXGTUN0MP1TX
   0uwcP05uVQDuINJUaWYkDC4uQrbciEITg8HbJHq3OH63lNW5/wDfOEROoVcPiACtNzKF3Te4aySZ
   /3tkJgYcmQfwUZtn2Ds=
DomainKey-Signature: a=rsa-sha1; c=nofws; q=dns; s=mandrill; d=itviec.com;
 b=QFc22xXF+gAVDT1qJZyKWnPh+7YcY+yO08jZt87nQW0bUfQrfmF3X2E+lyhTK8JI7ksRtKgt526e
   ndasDLSw+siCqPelMNeDePkN7RLDNl5IXuEG6LnoWoBWzFOTYyH4vXGEOi0F+WmPD6aoR+RcUvxZ
   CAD28a/T4w0cKDLoVvw=;
Received: from pmta02.mandrill.prod.atl01.rsglab.com (127.0.0.1) by mail133-26.atl131.mandrillapp.com id hbv2dm1sar8o for <itviec+jobrobot@itviec.com>; Thu, 3 Dec 2015 04:28:11 +0000 (envelope-from <bounce-md_30049822.565fc4db.v1-17b05f83d90c4afc98d45e7150460630@mandrillapp.com>)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mandrillapp.com; 
 i=@mandrillapp.com; q=dns/txt; s=mandrill; t=1449116891; h=From : 
 Subject : To : Message-Id : Date : MIME-Version : Content-Type : From : 
 Subject : Date : X-Mandrill-User : List-Unsubscribe; 
 bh=r9dCb0UehKANmD5pcRPY5W2rPJcP5pLvGaFP5mqGDDM=; 
 b=Qp8iOYkcGl7UmlV7Yi6GCUhC4Frdqz9DGQIMiDMJJIOXJkxv+GUIzqb+6mdsFNFTMUACkP
 +71Ii8L/vQLef77Pp6ls5XedXP4N8faGRrnihyK84WUxAoN+Rcl8E86lhyCA2j1VAA8CmyAS
 tNNLHlxfsJCHjOw3GWL5q7VO9Su/A=
--_av-KsjmzauXlF-qEoqq3I296w
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: quoted-printable

<div itemscope itemtype=3D"http://schema.org/EmailMessage">
  <div itemprop=3D"action" itemscope itemtype=3D"http://schema.org/ViewActi=
on">
    <link itemprop=3D"url" href=3D"http://itviec.com/search/java?utm_campai=
gn=3DJob+Robot&amp;utm_medium=3DJobRobot&amp;utm_source=3DEmail&amp;utm_ter=
m=3DView+all+your+jobs">
    <meta itemprop=3D"name" content=3D"Yes, View My Jobs">
  </div>
</div>


<table bgcolor=3D"#CCC" class=3D"mail" style=3D"margin-top: 10; font-family=
: 'Helvetica', san-serif; color: #444;" width=3D"100%">
 <tr>
  <td>
   <table align=3D"center" bgcolor=3D"white" cellpadding=3D"0" cellspacing=3D"=
0" class=3D"content" style=3D"margin-top: 20px; border-radius:7px" width=3D=
"550">
    <tr bgcolor=3D"#282828" class=3D"header" height=3D"75">
     <td style=3D"padding: 20px 30px; border-radius:7px 7px 0px 0px;">
      <a href=3D"itviec.com">
      <img alt=3D"ITviec" border=3D"0" height=3D"35px" src=3D"itviec.com/assets/l=
ogo-for-email-white-color.png" style=3D"float: left" width=3D"90px">
      </a>
      <div class=3D"title-nav-bar" style=3D"float: right; color: #FFF; margin-top=
: 8px; font-size: 18px">
Code Awesome
      </div>
     </td>
    </tr>
   </table>
  </td>
 </tr>
</table>

我在Email markup tester页面测试了这段代码,结果是“没有检测到错误”。

【问题讨论】:

  • 我认为这对你不起作用的原因是因为某些内容,特别是'='被编码为'=3D'

标签: email google-schemas


【解决方案1】:

@Dan Pham,我已经测试了您的标记,并且能够生成一个操作按钮。我假设您还没有被列入该功能的白名单。

您的电子邮件是否已列入 Gmail 操作白名单?如果没有,请填写此registration form 以启用,您还必须发送包含您的微数据的示例电子邮件。

您可以在下面的链接中找到有关注册的所有详细信息:

https://developers.google.com/gmail/markup/registering-with-google?hl=en

【讨论】:

    【解决方案2】:

    这是由于您的电子邮件中的=3D。我还不知道如何解决这个问题,但它应该会缩小你的调查范围。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2014-06-26
      • 2019-01-09
      • 1970-01-01
      • 1970-01-01
      • 2018-03-04
      • 2012-12-05
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多