2010-12-09 39 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

相關問題