Problem 1> I m writing a mail program in asp
my first page is mail.asp where I subitting address, subject, body and
second page is send_mail.asp
Contents of Page mail.asp
New Page 1
Contents of page sendmail.asp
New Page 1
<%
'Send 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() ' This is Line No 19
Response.write("Mail Sent!")
'Destroy The mail Object
Set mail = Nothing
%>
My Error is :
CDO.Message.1 (0x80040220)
The "SendUsing" configuration value is invalid.
/vkasp/aspMail/send_mail.asp, line 19
I have mention the Line no 19 in above code
wrote in message news:1176122803.257956.11880@l77g2000hsb.googlegroups.com...
> Problem 1> I m writing a mail program in asp
> my first page is mail.asp where I subitting address, subject, body and
> second page is send_mail.asp
>
> Contents of Page mail.asp
>
>
>
>
>
>
> New Page 1
>
>
>
>
>
>
>
>
> Contents of page sendmail.asp
>
>
>
>
>
>
>
> New Page 1
>
>
>
> <%
> 'Send 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() ' This is Line No 19
> Response.write("Mail Sent!")
> 'Destroy The mail Object
> Set mail = Nothing
> %>
>
>
>
>
> My Error is :
>
> CDO.Message.1 (0x80040220)
> The "SendUsing" configuration value is invalid.
> /vkasp/aspMail/send_mail.asp, line 19
> I have mention the Line no 19 in above code
>