0

我正在尝试在生成的电子邮件中发送一些 html,如下所示:

X-Sender: XXXX@xxxx.com
X-Receiver: XXXX@xxxx.com
MIME-Version: 1.0
From: XXXXXXX@xxxx.com
To: XXXXX@xxxx.com
Date: 9 Dec 2010 10:55:52 -0800
Subject: Test email
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: quoted-printable

<p>Click on the link below</p><p><a href="http://www.mysite.com">Click Here</a></p>

电子邮件已发送,但由于某种原因链接标签未显示。我认为这与内容类型有关。有任何想法吗?提前致谢。

4

1 回答 1

-1

You could try this Content-Type: "Content-Type: text/html; charset=ISO-8859-1\r\n"

It should allow your HTML to be handled properly.

于 2010-12-09T19:59:02.057 回答