asp发送邮件出错
具体代码如下:<%
Set jmail = Server.CreateObject("JMAIL.Message")
jmail.silent = true
jmail.logging = true
jmail.Charset = "GB2312"
jmail.ContentType = "text/html"
jmail.AddRecipient 123@123.com
jmail.From = "123@123.com"
jmail.MailServerUserName = "123"
jmail.MailServerPassword = "123456"
jmail.Subject = "测试"
jmail.Body = "测试!!!"
jmail.Priority = 1
jmail.Send("smtp.123.com")
jmail.Close()
response.write "Send email ok!"
%>
服务器上jmail版本是4.4
报错:
错误类型:
Microsoft JScript 编译错误 (0x800A03EC)
缺少 ';'
/mail/2.asp, line 9, column 4
Set jmail = Server.CreateObject("JMAIL.Message")
---^
哪位达人来解答一下