asp发email问什么发不出去?
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服务没有配置好?怎么配置?