标题:asp发送邮件出错
取消只看楼主
suga
Rank: 1
等 级:新手上路
帖 子:48
专家分:0
注 册:2005-7-5
 问题点数:0 回复次数:1 
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")
---^
哪位达人来解答一下
搜索更多相关主题的帖子: 邮件 asp 
2007-05-16 11:16
suga
Rank: 1
等 级:新手上路
帖 子:48
专家分:0
注 册:2005-7-5
得分:0 
回复:(suga)asp发送邮件出错
邮箱肯定对的

2007-05-16 11:32



参与讨论请移步原网站贴子:https://bbs.bccn.net/thread-139788-1-1.html




关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.127685 second(s), 8 queries.
Copyright©2004-2025, BCCN.NET, All Rights Reserved