JMail发邮件问题!是否跟Jmail版本有关系?

spenry 2007-07-14 12:14:55
本机安装4.3.1可以发送成功,服务器安装4.3.0发送出错!请问高手问题出在那里?


Set JmailMsg=Server.CreateObject("JMail.Message")
JmailMsg.silent = true
JmailMsg.Logging = True
JmailMsg.Charset="gb2312"
JmailMsg.contentType = "text/html"
JmailMsg.From = mailsend
JmailMsg.FromName = SendFromName
JmailMsg.mailserverusername = mailusername
JmailMsg.mailserverpassword = mailuserpass
JmailMsg.AddRecipient trim(request("sendemail"))
JmailMsg.body=htmlbody
JmailMsg.Subject=topic
if not JmailMsg.Send ( mailaddress ) then
SendMail=""
else
SendMail="OK"
end if
if SendMail="OK" Then
response.write "<script>alert('恭喜您,简历发送成功!按确定返回');location.href = 'main.asp?file=per_sendemail.asp'</script>"
Else
response.write "<script>alert('由于系统错误,外发简历未成功。');history.back();</script>"
end If

...全文
138 4 打赏 收藏 转发到动态 举报
写回复
用AI写文章
4 条回复
切换为时间正序
请发表友善的回复…
发表回复
iamXiaMi 2007-07-15
  • 打赏
  • 举报
回复
看下手册..哪些方法不通用呢?


我只用过4.3
spenry 2007-07-14
  • 打赏
  • 举报
回复
问题是我是买别人的空间..他们就装这个版本..
liu519 2007-07-14
  • 打赏
  • 举报
回复
是的.
liucomcn 2007-07-14
  • 打赏
  • 举报
回复
现在有4。4了,装这个版本吧。我在用,挺好的。

28,390

社区成员

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

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