http://www.phpe.net/articles/207.shtml
http://www.phpe.net/articles/208.shtml
http://www.phpe.net/articles/209.shtml
http://www.phpe.net/articles/210.shtml
http://www.phpe.net/articles/211.shtml
http://www.phpe.net/articles/212.shtml

解决方案 »

  1.   

    http://freshmeat.net/branches/14537/下载一个phpmailer试试,有源代码,而且不大,注释很详细,还可以作为学习的样本
      

  2.   

    $message="<html><body><div align=center>
      <center>
      <table width="535" border="0"><tr><td colspan="2"><div align="center"><b>您填写的订购信息,请确认!!</b></div>
                      </td>
                    </tr>
                    <tr> 
                      
        <td width="99">单位名称:</td>
                      
        <td width="426">$address </td>
                    </tr>
                    <tr> 
                      
        <td width="99">联系方式:</td>
                      
        <td width="426"> $content</td>
                    </tr>
                    <tr> 
                      
        <td width="99">网站:</td>
                      
        <td width="426">$homepage</td>
                    </tr>
                    <tr> 
                      
        <td width="99">E_mail地址:</td>
                      
        <td width="426">$email</td>
                    </tr>
                    <tr> 
                      
        <td width="99">动物品系:</td>
                      
        <td width="426">$a1list</td>
                    </tr>
                    <tr> 
                      
        <td width="99">其他:</td>
                      
        <td width="426">$a2list</td>
                    </tr>
                    <tr> 
                      
        <td width="99" height="25">数量:</td>
                      
        <td width="426" height="25">$max1</td>
                    </tr>
                    <tr> 
                      
        <td width="99">规格:</td>
                      
        <td width="426">$max2</td>
                    </tr>
                    <tr> 
                      
        <td width="99">性别:</td>
                      
        <td width="426">$a3list</td>
                    </tr>
                    <tr> 
                      
        <td width="99">需求时间:</td>
                      
        <td width="426">$time</td>
                    </tr>
                    <tr> 
                      
        <td width="99">运输方式:</td>
                      
        <td width="426">$a4list</td>
                    </tr>
                    <tr> 
                      
        <td width="99">&nbsp;</td>
                      
        <td width="426">关闭</td>
                    </tr>
                  </table>
      </center>
    </div></body></html> ";
    $sendto = "[email protected]"; $subject = "医疗中介"; 
    $email=$email;
    $headers .= "MIME-Version: 1.0\r\n"; 
    //$headers .= "Content-type: text/html; charset=gb2312\r\n"; 
    $headers .= "Content-type: text/html; charset=iso-8859-1\r\n"; 
    $headers .= "From: $email\r\n"; 
    $headers .= "Reply-To: ¥email\r\n"; 
    mail($sendto, $subject, $message, $headers);
    echo "<br>";
    echo "<br>";
    echo "<br>";
    echo $message1;
      

  3.   

    to  pmaster(你有什么理由不公开你的源代码?)
        你的代码有错