用asp2php转换*.asp为*.php后。。。。。。

mail.asp:

!<HTML>
!<meta http-equiv="refresh" content="3;URL=yuding.htm">
!<BODY>
!<%'response.end

!        Set jmail = Server.CreateObject("JMail.Message")
!        jmail.AddRecipient "dlyy_hotel@sohu.com", "网上订单"
!        jmail.From = "king@aoying.net"
!        jmail.Subject = "网上订单!"
!        jmail.Charset = "gb2312"
!        name=request("name")
!        guo=request("guo")
!        zheng=request("zheng")
!        tel=request("tel")
!        mail=request("mail")
!        D1=request("D1")
!        other=request("other")
!        jmail.Body = "姓名:"&name&vbcrlf
!        jmail.appendText"国籍:"&guo&vbcrlf
!        jmail.appendText"身份证号码:"&zheng&vbcrlf
!        jmail.appendText"电话号码:"&tel&vbcrlf
!        jmail.appendText"电子邮件:"&mail&vbcrlf
!        jmail.appendText""&D1&vbcrlf
!        jmail.appendText"其它:"&other&vbcrlf
!        ' The return value of AddAttachment is used as a
!        ' reference to the image in the HTMLBody.
!        'contentId = jmail.AddAttachment("c:\myCoolPicture.gif")
!
!        ' As only HTML formatted emails can contain inline images
!        ' we use HTMLBody and appendHTML
!        'jmail.HTMLBody = "<html><body><font color=""red"">Hi, here !is a nice picture:</font><br>"
!        'jmail.appendHTML "<img src=""cid:" & contentId & """>"
!        'jmail.appendHTML "<br><br> good one huh?</body></html>"
!       
!        ' But as not all mailreaders are capable of showing HTML !emails
!        ' we will also add a standard text body
!        'jmail.Body = "Too bad you can't read HTML-mail."
!        'jmail.appendText " There would have been a nice picture for you"
!        jmail.Send( "allin.com.cn" )
!        response.write "<center>欢迎光临本酒店!发送成功!3秒后返回!</center>"
!%>
!</BODY>

!</HTML>



转换后



mail.php




!<HTML>
!<meta http-equiv="refresh" content="3;URL=yuding.htm">
!<BODY>
!<? //response.end

!// $jmail is of type "JMail.Message"

!$jmail->AddRecipient"dlyy_hotel@sohu.com"//网上订单"
!$jmail->From="king@aoying.net";
!$jmail->Subject="网上订单!";
!$jmail->Charset="gb2312";
!$name=${"name"};
!$guo=${"guo"};
!$zheng=${"zheng"};
!$tel=${"tel"};
!$mail=${"mail"};
!$D1=${"D1"};
!$other=${"other"};
!$jmail->Body="姓名:".$name."\r\n";
!$jmail->appendText"国籍:".$guo."\r\n";
!$jmail->appendText"身份证号码:".$zheng."\r\n";
!$jmail->appendText"电话号码:".$tel."\r\n";
!$jmail->appendText"电子邮件:".$mail."\r\n";
!$jmail->appendText"".$D1."\r\n";
!$jmail->appendText"其它:".$other."\r\n";
!// The return value of AddAttachment is used as a
!// reference to the image in the HTMLBody.
!//contentId = jmail.AddAttachment("c:\myCoolPicture.gif")

!// As only HTML formatted emails can contain inline images
!// we use HTMLBody and appendHTML
!//jmail.HTMLBody = "<html><body><font color=""red"">Hi, here is a nice picture:</font><br>"
!//jmail.appendHTML "<img src=""cid:" & contentId & """>"
!//jmail.appendHTML "<br><br> good one huh?</body></html>"

!// But as not all mailreaders are capable of showing HTML emails
!// we will also add a standard text body
!//jmail.Body = "Too bad you can't read HTML-mail."
!//jmail.appendText " There would have been a nice picture for you"
!$jmail->Send("allin.com.cn");
!print "<center>欢迎光临本酒店!发送成功!3秒后返回!</center>";
?>
!</BODY>

!</HTML>



mail.php 无法正常运行



为什么不能正常显示

哪位 高手,能帮忙改改,万分感谢!