关于Jmail组件的问题?在线等!!!!!

fangj 2003-11-28 12:59:22
系统:win2000,iis5.0,组件:w3JMail41Personal

function smail(mailto,subject,memo)
Dim JMail
Set JMail = Server.CreateObject("JMail.Message")

smtpserver = "smtp.163.com"
smtpuser = "test" '用户名
smtppwd = "test" '密码

'JMail.Silent = true
JMail.Charset = "gb2312"
JMail.ContentType = "text/html"
JMail.Logging = true
JMail.Priority = 3

JMail.From = "***@163.com"
JMail.FromName = "test"
JMail.ReplyTo ="***@163.com"

JMail.AddRecipient(mailto)

JMail.Subject = subject
JMail.Body = memo

'JMail.se
Jmail.MailServerUserName = smtpuser
Jmail.MailServerPassWord = smtppwd


smail = Jmail.Send(smtpserver)

'if isgo then
'RESPONSE.WRITE("提交成功!谢谢你的支持。")
'end if

JMail.Close()
Set JMail = Nothing
end function

tomail="fangj@sinobnet.com"
subject="测试邮件"
memo="测试邮件!"
x=Smail(tomail,subject,memo)
Response.Write "发送完毕"

显示的错误:

jmail.Message 错误 '8000ffff'

The message was undeliverable. All servers failed to receive the message

/email.asp,行30

为什么啊?请帮帮我.急用!
...全文
45 17 打赏 收藏 转发到动态 举报
写回复
用AI写文章
17 条回复
切换为时间正序
请发表友善的回复…
发表回复
fangj 2003-11-28
  • 打赏
  • 举报
回复
还是发不出信啊啊啊啊啊啊啊啊,郁闷死了!!!!!!!!
fangj 2003-11-28
  • 打赏
  • 举报
回复
不出现刚才那个错了,可是我要屏蔽这个属性"JMail.Silent = true "
它就出现以下错误:
jmail.Message 错误 '8000ffff'

The message was undeliverable. All servers failed to receive the message

/email.asp,行30
而且也收不到!为什么?
taogx 2003-11-28
  • 打赏
  • 举报
回复
send方法的参数是字符串
taogx 2003-11-28
  • 打赏
  • 举报
回复
比方说
smail=jmail.send"taogx:123456@smtp.163.com")

怎么会有这个错误呢?

搞错没有
fangj 2003-11-28
  • 打赏
  • 举报
回复
我以上的"*"代表用户名和密码
fangj 2003-11-28
  • 打赏
  • 举报
回复
老大,出现了以下的错误

Microsoft VBScript 编译器错误 错误 '800a03ee'

缺少 ')'

/email.asp,行38

smail = Jmail.Send(****:****@smtpserver)
----------------------------^
chcb 2003-11-28
  • 打赏
  • 举报
回复
能不能说详细点呢?
fangj 2003-11-28
  • 打赏
  • 举报
回复
我试试吧!
taogx 2003-11-28
  • 打赏
  • 举报
回复
smail = Jmail.Send(usernaem:password@smtpserver)

现在还有不少人在用
smail = Jmail.Send(smtpserver)
这种方式,也有不少人在教别人用这种方式,但是现在实际中这种方式很难成功。
dfwid 2003-11-28
  • 打赏
  • 举报
回复
再頂頂
dfwid 2003-11-28
  • 打赏
  • 举报
回复
up

我也遇到如此問題, 到現在還沒有找到答案。
fangj 2003-11-28
  • 打赏
  • 举报
回复
有人知道吗?
fangj 2003-11-28
  • 打赏
  • 举报
回复
组件注册了,是那种自动运行注册的,是不是smtp需要验证啊?我看到其它关于此主题的贴子都能发啊?
prqin 2003-11-28
  • 打赏
  • 举报
回复
smtpserver地址不正确或者登陆没有成功
bxjgood66 2003-11-28
  • 打赏
  • 举报
回复
你的组件注册了没有呀!

你再在服务器上注册一下吧!!!
fangj 2003-11-28
  • 打赏
  • 举报
回复
没用代理服务器,是公司的内部网分的IP?
lions911 2003-11-28
  • 打赏
  • 举报
回复
你用来发邮件的机器,在互联网上吗 ??如果通过代理服务器是不行的

28,407

社区成员

发帖
与我相关
我的任务
社区描述
ASP即Active Server Pages,是Microsoft公司开发的服务器端脚本环境。
社区管理员
  • ASP
  • 无·法
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧