the code of mail.asp
<% @language=VBscript%>
<%
'Sends an email
Dim mail
Set mail = Server.CreateObject("CDO.Message")
mail.To = Request.Form("To")
mail.From = Request.Form("From")
mail.Subject = Request.Form("Subject")
mail.TextBody = Request.Form("Body")
mail.Send()
Response.Write("Mail Sent!")
'Destroy the mail object!
Set mail = nothing
%>
then i have got the following error when i try to send email.
Error Type:
CDO.Message.1 (0x80040220)
The "SendUsing" configuration value is invalid.
/mail.asp, line 10
so how can i send?
2007-03-15
06:25:31
·
2 answers
·
asked by
Anonymous