第一个解决了。第二个还是没解决。要使主体部份按原样显示出来改怎么做。

解决方案 »

  1.   


    mail("目标地址","主题","内容","from:你的地址");内容:
    $message = '
    -----netease_1036115712709_com---
    Content-Type: text/plain; charset="GB2312"
    Content-Transfer-Encoding: 8bit这是一封HTML格式的邮件,请切换到HTML方式查看该邮件。-----netease_1036115712709_com---
    Content-Type: text/html; charset="GB2312"
    Content-Transfer-Encoding: 8bit
    <html>
    <head>
    <title>测试</title>
    <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
    <body>
    <br>&nbsp;&nbsp;<a href=http://www.okok.com/ss.php?id=4>去看一看</a><br><br>
    </body>
    </htm>
    -----netease_1036115712709_com-----
    ';