如下的JMAIL程序如何用呀。不是太清楚
请问大家,如下的JMAIL程序如何用呀。不是太清楚。随帮我详解一下吗。先谢了!<%
mailserver="" 'smtp服务器地址
mailname="" '发信邮箱
mailpassword="" '发信邮箱密码
dim msg
CLStr=Chr(13) & Chr(10)
Set msg = Server.CreateObject("JMail.Message")
msg.silent = true
msg.Logging = true
msg.Charset = "gb2312"
msg.MailServerUserName = mailname
msg.MailServerPassword = mailpassword
msg.From = mailname
msg.FromName = mailname
msg.AddRecipient (useremail) 'usermail为对方邮箱
msg.Subject = "您在“"&sitename&"”注册成功"
msg.Body = UserName&",您好!"&CLStr&CLStr
msg.Body = msg.Body&"恭喜您注册会员成功,会员ID:"&id&",登陆密码:"&userpassword&CLStr&CLStr
msg.Body = msg.Body&sitename&"("&siteurl&")欢迎您多多光临!谢谢!"&CLStr
msg.Send (mailserver)
msg.close
set msg = nothing
%>