日期:2014-05-17  浏览次数:20778 次

发送email,突然不好用了。怎么办啊?
提示错误是:
Server   object   error   'ASP   0177   :   800401f3 '

Server.CreateObject   Failed

/forminfo.asp,   line   5

800401f3  
代码是:
<%  

Set   Mail   =   Server.CreateObject( "SMTPsvg.Mailer ")

Mail.FromName       =   Request.Form( "firstname ")+ "   "+Request.Form( "lastname ")

Mail.FromAddress=   Request.Form( "email ")

Mail.RemoteHost   =   "mrelay.perfora.net "   '   The   mail   server   you   have   to   use   with   Asp   Mail

Mail.AddRecipient   "UNIEA ",   "sales@uniea.com "

Mail.Subject         =   "Inquiry   from   Uniea.com "

Mail.BodyText       = "First   Name:   "+Request.Form( "firstname ")+vbcrlf   &   "Last   Name:   "+Request.Form( "firstname ")+vbcrlf   & "Title:   "+Request.Form( "title ")+vbcrlf   & "Company   name:   "+Request.Form( "companyname ")+vbcrlf   &   "Tel:   "+Request.Form( "tel ")+vbcrlf   &   "F                                                                                                                                                                                                                                                                                                 ax:   "+Request.Form( "fax ")+vbcrlf   &   "Email:   "+Request.Form( "email ")+vbcrlf   &   "Location:   "+Request.Form( "location ")+vbcrlf   &   "Messages   to   us:   "+Request.Form( "info ")+vbcrlf   &   "Additional   Information   about   your   organization:   "+Request.Form( "info1 ")
if   Mail.SendMail   then

  Response.Write   "Your   mail   has   already   been   sent... "

else

  Response.Write   "Mail   send   failure.   Error   was   "   &   Mail.Response

end   if  

%>  

以前都好用,现在换了另外一家的虚拟主机,就不好用了,怎么回事啊?好急阿。
链接:http://www.uniea.com/forminfo.asp

------解决方案--------------------
那是因为服务器没有ASPMail组件