2010-12-09 86 views
0

我想送一些HTML中生成的电子邮件,看起来是这样的:发送生成的电子邮件。麻烦头

X-Sender: [email protected] 
X-Receiver: [email protected] 
MIME-Version: 1.0 
From: [email protected] 
To: [email protected] 
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> 

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

回答

-1

你可以试试这个的Content-Type: “内容类型:text/html的;字符集= ISO-8859-1 \ r \ n” 个

它应该让你的HTML被妥善处理。

+0

不...不过感谢您的建议。 – jwerre 2010-12-09 20:23:24