<%
Set jmail = Server.CreateObject("SMTPMail")
jmail.silent = true
jmail.Charset = "GB2312"
jmail.ContentType = "text"
jmail.AddRecipient rs1("email")
jmail.From = "lvkuozi@tom.com"
jmail.MailServerUserName = "lvkuozi"
jmail.MailServerPassword = "132773439795"
jmail.Subject = "你好,这里是你在阔资网址导航找回的密码"
jmail.Body = "你的密码为:" & rs("password")
jmail.Body = "阔资网络公司 网址导航部" jmail.Body = "本邮件由服务器自动发送,请不要回复!"
jmail.Priority = 1
jmail.Send("smtp.tom.com")
jmail.Close()
set jmail = nothing
%>
<center>
密码已发送到您的注册邮箱!
</center>
Set jmail = Server.CreateObject("SMTPMail")
Server 对象, ASP 0177 (0x800401F3)
无效的类别字符串
????????????
參考答案:Jmail组件没有注册
下载Jmail组件,安装后,Jmail就自动注册了
如果有jmail.dll文件,就执行regsvr32.exe jmail.dll就可以了,卸载就用
regsvr32.exe /u jmail.dll