email Problem

V

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 = "(e-mail address removed)"
myMail.To = "(e-mail address removed)"
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,070
Latest member
BiogenixGummies

Latest Threads

Top