email Problem
am 30.06.2007 07:59:32 von vinodkus
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@yahoo.com"
myMail.To = "vinodkus@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
am 30.06.2007 08:26:36 von Jon Paal
google:
asp cdo sendmail
there are many examples available
wrote in message news:1183183172.864798.175500@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@yahoo.com"
> myMail.To = "vinodkus@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
>