email - Testing of Gmail Inbox action works from script.google.com but not in production -


i'm testing inbox action looks this:

<script type="application/ld+json"> {   "@context": "http://schema.org",   "@type": "emailmessage",   "description": "vote election",   "potentialaction": {     "@type": "viewaction",     "target": "https://www.example.com/",     "name": "vote"   } } </script> 

when send email personal gmail account personal gmail account using script.google.com, inbox action shows expected.

the inbox action doesn't show in production environment, however. email content, looks i'm satisfying testing requirements (sender=receiver, dkim/spf pass, , schema correctly formatted).

i've pasted relevant parts of raw email below (changed domain example.com). i'd appreciate if me figure out why isn't working in production. wonder if has way sendgrid sends emails. perhaps quoted printable encoding.

update:

i'd love wrong on this...

delivered-to: noreply@example.com received: 10.179.65.39 smtp id z36csp2035149lta;         sun, 10 sep 2017 12:58:56 -0700 (pdt) arc-authentication-results: i=1; mx.google.com;        dkim=pass header.i=@example.com header.s=s1 header.b=kfwvjg4s;        spf=pass (google.com: domain of bounces+2312227-39b4-noreply=example.com@sendgrid.example.com designates 50.31.63.171 permitted sender) smtp.mailfrom=bounces+2312227-39b4-noreply=example.com@sendgrid.example.com return-path: <bounces+2312227-39b4-noreply=example.com@sendgrid.example.com> received: o3.lv1n.shared.sendgrid.net (o3.lv1n.shared.sendgrid.net. [50.31.63.171])         mx.google.com esmtps id b6si6944058itg.2.2017.09.10.12.58.56         <noreply@example.com>         (version=tls1_2 cipher=ecdhe-rsa-aes128-gcm-sha256 bits=128/128);         sun, 10 sep 2017 12:58:56 -0700 (pdt) received-spf: pass (google.com: domain of bounces+2312227-39b4-noreply=example.com@sendgrid.example.com designates 50.31.63.171 permitted sender) client-ip=50.31.63.171; authentication-results: mx.google.com;        dkim=pass header.i=@example.com header.s=s1 header.b=kfwvjg4s;        spf=pass (google.com: domain of bounces+2312227-39b4-noreply=example.com@sendgrid.example.com designates 50.31.63.171 permitted sender) smtp.mailfrom=bounces+2312227-39b4-noreply=example.com@sendgrid.example.com dkim-signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=example.com; h=content-type:from:mime-version:reply-to:to:subject; s=s1; bh=k6aybmsms3xio2peizacblzx3ke=; b=kfwvjg4srkhietsjtgcpbznkwjexc 0257s0bzmod1xcdhy/0vcz8sunjnf1ucmov/iapqdkuxy63r1/ij/bwkqt8ofkzc ahv1bmu0jnlrb52ljxdxvoardcsrs4nsv/rjakesvewpb3c3+un3wzvz4d3aw6/e yasrbngmwyx4da= received: filter1116p1mdw1.sendgrid.net smtp id filter1116p1mdw1-27082-59b5997f-3d         2017-09-10 19:58:55.681380536 +0000 utc received: mjmxmjiynw (212.194.178.107.gae.googleusercontent.com [107.178.194.212]) ismtpd0006p1iad1.sendgrid.net (sg) http id jqlyifebtai2qsunhi6mww sun, 10 sep 2017 19:58:55.674 +0000 (utc) content-type: multipart/alternative; boundary=c0a10de0e29c22f961adb17fbb355f53efb116fcbc4743a6eb66f5896e64 from: noreply@example.com mime-version: 1.0 reply-to: me@gmail.com to: noreply@example.com message-id: <jqlyifebtai2qsunhi6mww@ismtpd0006p1iad1.sendgrid.net> subject: election title [s2isc]  --c0a10de0e29c22f961adb17fbb355f53efb116fcbc4743a6eb66f5896e64 content-transfer-encoding: quoted-printable content-type: text/plain; charset=utf-8 mime-version: 1.0  ...  --c0a10de0e29c22f961adb17fbb355f53efb116fcbc4743a6eb66f5896e64 content-transfer-encoding: quoted-printable content-type: text/html; charset=utf-8 mime-version: 1.0  <!doctype html public "-//w3c//dtd xhtml 1.0 transitional//en" "http://www.= w3.org/tr/xhtml1/dtd/xhtml1-transitional.dtd"> <html xmlns=3d"http://www.w3.org/1999/xhtml"> <head><meta http-equiv=3d"content-type" content=3d"text/html; charset=3dutf= -8" /> <title></title> </head> <body> <script type=3d"application/ld+json"> {   "@context": "http://schema.org",   "@type": "emailmessage",   "description": "vote election title",   "potentialaction": {     "@type": "viewaction",     "target": "https://www.example.com",     "name": "vote"   } } </script> </body> </html>  --c0a10de0e29c22f961adb17fbb355f53efb116fcbc4743a6eb66f5896e64-- 


Comments

Popular posts from this blog

resizing Telegram inline keyboard -

command line - How can a Python program background itself? -

php - "cURL error 28: Resolving timed out" on Wordpress on Azure App Service on Linux -