Gmail电子邮件标记不起作用

耶洛诺拉

我正在测试用于包裹递送的Gmail电子邮件标记功能,看来我做错了。这是给自己发送电子邮件之后的电子邮件内容

Return-Path: <[email protected]>
Received: from my-pc.local ([my.ip.add.ress])
        by mx.google.com with ESMTPSA id 68sm3737559qgz.8.2015.01.29.06.06.37
        for <[email protected]>
        (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
        Thu, 29 Jan 2015 06:06:38 -0800 (PST)
Date: Thu, 29 Jan 2015 11:06:33 -0300
From: "Test Name" <[email protected]>
To: [email protected]
Subject: Your package is on its way
Message-ID: <[email protected]>
MIME-Version: 1.0
Content-Type: text/html; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.5.23 (2014-03-12)

<html>
  <body>
    <script type="application/ld+json">
    {
      "@context": "http://schema.org",
      "@type": "ParcelDelivery",
      "deliveryAddress": {
        "@type": "PostalAddress",
        "streetAddress": "Test Address",
        "addressLocality": "Test locality",
        "addressRegion": "Test Region",
        "addressCountry": "CL",
        "postalCode": "7551234"
      },
      "expectedArrivalUntil": "2015-02-12T12:00:00-04:00",
      "carrier": {
        "@type": "Organization",
        "name": "Test org"
      },
      "itemShipped": {
        "@type": "Product",
        "name": "iPod Mini"
      },
      "partOfOrder": {
        "@type": "Order",
        "orderNumber": "176057",
        "merchant": {
          "@type": "Organization",
          "name": "Test Org 2"
        },
        "orderStatus": "OrderInTransit"
      },
      "trackingUrl": "http://track.com/track/1234567890",
      "trackingNumber": "1234567890"
    }
    </script>
    <p>Test paragraph</p>
  </body>
</html>

标记根据标记验证器有效我缺少推荐的(但不是必需的)字段。添加它们没有帮助。

到目前为止,我还尝试了微数据格式,但没有运气:

<html>
  <body>
    <div itemscope itemtype="http://schema.org/ParcelDelivery">
      <div itemprop="deliveryAddress" itemscope itemtype="http://schema.org/PostalAddress">
        <meta itemprop="streetAddress" content="Test Address"/>
        <meta itemprop="addressLocality" content="San Francisco"/>
        <meta itemprop="addressRegion" content="CA"/>
        <meta itemprop="addressCountry" content="US"/>
        <meta itemprop="postalCode" content="94107"/>
      </div>
      <meta itemprop="expectedArrivalUntil" content="2015-01-12T12:00:00-08:00"/>
      <div itemprop="carrier" itemscope itemtype="http://schema.org/Organization">
        <meta itemprop="name" content="Test Carrier"/>
      </div>
      <div itemprop="itemShipped" itemscope itemtype="http://schema.org/Product">
        <meta itemprop="name" content="iPod Mini"/>
      </div>
      <div itemprop="partOfOrder" itemscope itemtype="http://schema.org/Order">
        <meta itemprop="orderNumber" content="176057"/>
        <div itemprop="merchant" itemscope itemtype="http://schema.org/Organization">
          <meta itemprop="name" content="Bob Dole"/>
        </div>
        <meta itemprop="orderStatus" content="OrderInTransit"/>
      </div>
      <meta itemprop="trackingUrl" content="http://track.com/track/1234567890"/>
      <meta itemprop="trackingNumber" content="1234567890"/>
    </div>
    <p>Test paragraph</p>
  </body>
</html>

我想念什么?

我正在使用mutt发送电子邮件:

mutt -e "set content_type=text/html" [email protected] -s "Your package is on its way" < test.html

或没有内容类型:

mutt [email protected] -s "Your package is on its way" < test.html
安托万·平沙德

如果您使用Google SMTP中继,则必须使用如下所示的SPF记录:

600 IN TXT "v=spf1 a include:_spf.google.com ~all"

来源:https//support.google.com/a/answer/178723?hl = zh_CN

本文收集自互联网,转载请注明来源。

如有侵权,请联系[email protected] 删除。

编辑于
0

我来说两句

0条评论
登录后参与评论

相关文章

来自分类Dev

从gmail阅读电子邮件不起作用

来自分类Dev

HTML电子邮件不起作用:/

来自分类Dev

蛋糕电子邮件不起作用

来自分类Dev

PHP电子邮件不起作用

来自分类Dev

蛋糕电子邮件不起作用

来自分类Dev

速度电子邮件不起作用

来自分类Dev

基本电子邮件不起作用

来自分类Dev

PHP HTML电子邮件类选择器不起作用GMAIL

来自分类Dev

从Gmail发送电子邮件在CloudBees上不起作用

来自分类Dev

使用gmail api发送电子邮件不起作用

来自分类Dev

wp电子商务电子邮件不起作用

来自分类Dev

HTML电子邮件<img>不起作用

来自分类Dev

Magento:电子邮件模板中的翻译不起作用

来自分类Dev

HTML电子邮件按钮链接不起作用

来自分类Dev

流星电子邮件不起作用-错误:getaddrinfo ENOTFOUND

来自分类Dev

SGE群集qsub电子邮件通知不起作用

来自分类Dev

sailsjs:模型电子邮件验证似乎不起作用

来自分类Dev

电子邮件验证在MVC中不起作用

来自分类Dev

GitLab电子邮件通知不起作用

来自分类Dev

Django Celery发送注册电子邮件不起作用

来自分类Dev

电子邮件在Linux容器中不起作用

来自分类Dev

美元($)符号在电子邮件模板中不起作用

来自分类Dev

PHP BCC电子邮件不起作用

来自分类Dev

电子邮件中断行不起作用

来自分类Dev

Rails-发送名称不起作用的电子邮件

来自分类Dev

电子邮件换行符不起作用

来自分类Dev

Div样式在Outlook电子邮件中不起作用

来自分类Dev

HTML电子邮件格式在Outlook中不起作用

来自分类Dev

KEYUP事件上的电子邮件验证不起作用