email Problem
Hi I m trying to send an email using an asp program but it gives an
error no doubt it is so simple but it gives an error.
First I write my program
<%
Dim myMail
'Set myMail = Server.CreateObject ("CDONTS.NewMail")
Set myMail = Server.CreateObject ("CDO.Message")
myMail.From = "vinodkus [at] yahoo.com"
myMail.To = "vinodkus [at] gmail.com"
myMail.Subject = "Test email using CDONTS"
'myMail.Body = "This is a test email message" & vbcrlf & "sent with
CDONTS"
myMail.TextBody = "This is a test email message"
myMail.Send
set myMail=nothing
Response.Write("Your e-mail has been sent")
%>
Asn the error that i m getting is
Error Type:
CDO.Message.1 (0x80040220)
The "SendUsing" configuration value is invalid.
please help me
Thanks in Advance
Re: email Problem
google:
asp cdo sendmail
there are many examples available
<vinodkus [at] gmail.com> wrote in message news:1183183172.864798.175500 [at] g4g2000hsf.googlegroups.com...
> Hi I m trying to send an email using an asp program but it gives an
> error no doubt it is so simple but it gives an error.
> First I write my program
>
> <%
> Dim myMail
> 'Set myMail = Server.CreateObject ("CDONTS.NewMail")
> Set myMail = Server.CreateObject ("CDO.Message")
>
> myMail.From = "vinodkus [at] yahoo.com"
> myMail.To = "vinodkus [at] gmail.com"
> myMail.Subject = "Test email using CDONTS"
> 'myMail.Body = "This is a test email message" & vbcrlf & "sent with
> CDONTS"
> myMail.TextBody = "This is a test email message"
>
> myMail.Send
> set myMail=nothing
> Response.Write("Your e-mail has been sent")
> %>
> Asn the error that i m getting is
>
> Error Type:
> CDO.Message.1 (0x80040220)
> The "SendUsing" configuration value is invalid.
>
> please help me
> Thanks in Advance
>