0

我有一个客户/朋友正在准备通过机构访问发送电子邮件。他们需要一个包含 html 的包罗万象的文档,以及一个 HTML 文档中电子邮件的纯文本版本。我认为我有一个基本的了解,但有点困惑。我通常使用 Mailchimp 来处理我的电子邮件营销。

所以我们将使用常规的 html 文档

<html>
<head>
<title>Our Email</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body>
 our html markup

</body>
</html>

但是,是不是在下面的某个地方,我们为纯文本版本声明了一个替代的 mime 类型,然后电子邮件客户端选择显示哪个?并且这两个都必须包装在多部分/混合的 mime 类型中吗?

我知道这可能很简单,但我读过的大部分内容都处理了发送邮件的 PHP 文件中的 MIME 类型声明,但我们需要在此文档中进行区分。真的只是想知道这应该如何构建。

4

1 回答 1

0

So it was confusion for nothing. The service implied that the user was expected to upload a single document to cover the both(which implies needed to specify MIME-types in the document), but this was not the case, as they required everything to fall inside html markup. The service itself was supposed to offer the additional step to insert the plain text version, and it was a bug on their part that they are working on. Hope that makes sense, but thanks for the responses guys

于 2013-01-15T00:06:53.380 回答