hi please i want your help in this:
i have this code:
<%
Set Mail = Server.CreateObject("CDONTS.NewMail")
Mail.From = "
[email protected]"
Mail.To = Request("
[email protected]")
Mail.Subject = Request("Subject")
Mail.BodyFormat = 0
Mail.MailFormat =0
Mail.Importance =1
Mail.Body = Request("body")
mail.Send
Set objMail = Nothing
On Error Resume Next
Mail.Send
if Err <> 0 Then
Response.write(err.number )
response.write "There was an error sending the E-mail, E-mail was not sent"
Else
Response.Redirect ("mail.asp")
End If
%>
there is an error trying to send this page and the error number is:
-2147221240