asp发email问什么发不出去?

redalert 2002-01-08 05:02:10
win2000 professional,IIS,我用如下代码发email:
<%@ Language=VBScript %>
<HTML>
<HEAD>
<META NAME="GENERATOR" Content="Microsoft Visual Studio 6.0">
</HEAD>
<BODY>

<P> </P>
<%set themail=server.CreateObject ("cdonts.newmail")
themail.Body="xgjtest"
themail.From ="aaa@263.net"
themail.To="aaa@371.net"
themail.Subject ="xgjtesthahaha"
themail.BodyFormat=1
themail.Send
set themail=nothing
%>
</BODY>
</HTML>
可是没有接收到,是不是smtp服务没有配置好?怎么配置?
...全文
87 6 打赏 收藏 转发到动态 举报
写回复
用AI写文章
6 条回复
切换为时间正序
请发表友善的回复…
发表回复
redalert 2002-01-08
  • 打赏
  • 举报
回复
kkk
redalert 2002-01-08
  • 打赏
  • 举报
回复
我的smtp服务已经启动,可是不行啊!smtp怎么配置呀
shuangyulove 2002-01-08
  • 打赏
  • 举报
回复
好像只能发IIS自带的SMTP
希偌 2002-01-08
  • 打赏
  • 举报
回复
对了,要启动发送邮件的SMTP地址,如:smtp.263.net
haiznan 2002-01-08
  • 打赏
  • 举报
回复
你要在win2000 professional,smtp服务 配置一下吗~!~!!!!!!!!!!!
cpplus 2002-01-08
  • 打赏
  • 举报
回复
set themail=server.CreateObject("cdonts.newmail")

空格去掉试一下

然后你的SMTP服务启动了吗?

28,406

社区成员

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

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