whoopy_whale
Journeyman
My ASP pages are kept at 1asphost.com,a free space provider.I tried to create a page to send email using CDO.
I used the following code...
Set myMail=CreateObject("CDO.Message")
myMail.Subject="Sending email with CDO"
myMail.From="from@some.com"
myMail.To="to@some.com"
myMail.HTMLBody = "<h1>This is a message.</h1>"
myMail.Send
Actually,in place of from and to id,I used a request.querystring("fromid")
and request.querystring("toid").
I received the message also with this GET method.
When I tested the page the result was
CDO.Message.1 error '80040220'
The "SendUsing" configuration value is invalid.
/whoopywhale/email.asp, line 15
the line 15 is myMail.Send
What could be the trouble
Help me... :roll:
I used the following code...
Set myMail=CreateObject("CDO.Message")
myMail.Subject="Sending email with CDO"
myMail.From="from@some.com"
myMail.To="to@some.com"
myMail.HTMLBody = "<h1>This is a message.</h1>"
myMail.Send
Actually,in place of from and to id,I used a request.querystring("fromid")
and request.querystring("toid").
I received the message also with this GET method.
When I tested the page the result was
CDO.Message.1 error '80040220'
The "SendUsing" configuration value is invalid.
/whoopywhale/email.asp, line 15
the line 15 is myMail.Send
What could be the trouble

Help me... :roll: