电子邮件架构自检看起来像一条普通消息

问题描述

我正在测试我的架构电子邮件。 json-ld 内容只是从谷歌示例中复制过来的。

我正在使用 SMTP 连接从我的 gmail 地址向我的 gmail 地址发送一个带有 json-ld 脚本标记自定义 HTML。

收到的电子邮件内容有效,我已经使用架构验证工具 (https://www.google.com/webmasters/markup-tester/u/0/) 对其进行了验证,但是 gmail 中的邮件显示为普通邮件,没有任何特殊修饰。

我缺少什么?

这是消息:

Return-Path: <....@gmail.com>
Received: from .......
To: ....@gmail.com
From: .... <.....@gmail.com>
Subject: test
Message-ID: <.......@gmail.com>
Date: Wed,14 Apr 2021 10:13:36 +0200
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.9.1
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="------------C711D6157D722F58A7A70245"
Content-Language: it

--------------C711D6157D722F58A7A70245
Content-Type: text/plain; charset=iso-8859-15; format=flowed
Content-transfer-encoding: 7bit

test


--------------C711D6157D722F58A7A70245
Content-Type: text/html; charset=iso-8859-15
Content-transfer-encoding: 7bit

<html>
  <head>

    <Meta http-equiv="content-type" content="text/html; charset=ISO-8859-15">
  </head>
  <body>
    <p>test</p>
    <p>
      <script type="application/ld+json">
{
  "@context": "http://schema.org","@type": "Person","name": "John Doe","jobTitle": "Graduate research assistant","affiliation": "University of Dreams","additionalName": "Johnny","url": "http://www.example.com","address": {
    "@type": "PostalAddress","streetAddress": "1234 Peach Drive","addressLocality": "Wonderland","addressRegion": "Georgia"
  }
}
</script></p>
  </body>
</html>

--------------C711D6157D722F58A7A70245--

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)

相关问答

Selenium Web驱动程序和Java。元素在(x,y)点处不可单击。其...
Python-如何使用点“。” 访问字典成员?
Java 字符串是不可变的。到底是什么意思?
Java中的“ final”关键字如何工作?(我仍然可以修改对象。...
“loop:”在Java代码中。这是什么,为什么要编译?
java.lang.ClassNotFoundException:sun.jdbc.odbc.JdbcOdbc...