邮件发送问题
'这一段代码是文件cc.asp<form name="form" action="dd.asp" method="post">
mail to <input type="text" name="to"><br>
mail from<input type="text" name="from"><br>
mail subject<input type="text" name="subject"><br>
mail body<textarea name="body"></textarea><br>
<input type="submit" name="button" value="发送">
</form>
'这一段代码cc.asp传过来后发送
<%
to1=request.Form("to")
from=request.form("from")
subject=request.form("subject")
body=request.form("body")
Set mail = Server.CreateObject("CDONTS.NewMail")
mail.TO = to1
mail.From = from
mail.Subject = subject
mail.Body = body
mail.Send
response.write "发送成功"
%>
可是收不到这是为什么?