发送 HTML 封包含样式表的电子邮件

Send HTML Email that contains stylesheet

我发送了一封电子邮件,但 Gmail 不阅读我的 html 邮件。
我需要使用@font-face。
我发送这个 HTML:

<!DOCTYPE html>
<html lang="en" xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="utf-8" />
    <title>Title</title>
    <link href="http://myAddress.com/style.css" rel="stylesheet" />
</head>
<body>
    <h1 class="style1">Hello</h1>
</body>
</html>

我想看这个:
image is here
但我看到这个:
image is here

Gmail 的 CSS 支持非常...有限地说:The Ultimate Guide to CSS。所以你可能运气不好,需要重写代码。

另请参阅 Understanding Gmail and CSS: Part 1 以了解有关如何解决此问题的更多详细信息。您需要内联所有 CSS,但有可用的工具。