说明一下,背景音乐已经转成BASE64编码了发出去以后,显示的不是HTML,而是:
--b2421d4128cf85d
Content-Type: text/plain; charset="utf-8" 
Content-Transfer-Encoding: quoted-printableaaaa --b2421d4128cf85d
Content-type: text/html; charset=utf-8
Content-transfer-encoding: quoted-printable 
<html>
<head>
<title>Birthday Reminders for August</title>
</head>
<body><BGSOUND src=0.mid LOOP=-1>
<p>Here are the birthdays upcoming in August!</p>
<table>
<tr>
  <th>Person</th><th>Day</th><th>Month</th><th>Year</th>
</tr>
<tr>
  <td>Joe</td><td>3rd</td><td>August</td><td>1970</td>
</tr>

解决方案 »

  1.   

    如果你会发带附件的email,那就很容易。你只要注意以下几点。
    1、音乐部分的头改为:
    Content-Type: application/octet-stream;
    name="WebBackMusicName"
    Content-Transfer-Encoding: base64
    Content-ID: <WebBackMusicCid>2、html主体部会
    <bgsound src="WebBackMusicCid" loop="-1">注:WebBackMusicCid为随便生成的Cid.
      

  2.   

    哦?是Content-ID: 的问题么? 试试
      

  3.   

    呵呵,coolstr(大只佬) 果然高手啊,可以放背景音乐了,高兴ING。。但是有一个尾巴:我发出邮件后,在foxmail中显示非HTML页面的时候,不管正文是什么内容,最后总要跟着:“MThd”这几个字真是奇怪啊,不知道为什么????