Email with ASP

Status
Not open for further replies.

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:
 

parthbarot

In the zone
send means it is sending the whole bunch.
so if there is any prob in ur add. & above code then also it gives u error. i dont know much abt it.
 

#/bin/sh

Journeyman
you have used CDO mail componet.

b'z no one FREE asp hosting support ASP mail componets like ( Collaboration Data Objects (CDO), CDONTS, Jmail etc)
b'z of spam
1asphost.com does not support any mail componet.

so u guess that error.
 

Aseem Nasnodkar

In the zone
I agree with u #/bin/sh.
I also wanted 2 use CDO on 1asphost.com. But cudn't 4 d same reason!(See their support)

Well 1asphost is aa gr8 site. my fav webhosting site!
For a secret reason! Aah 2 special!!!

i guess whoopy_whale shud know it. If he dsn't know the golden reason(d 1 dat makes it look like a paid site) email me on
aseemnas@rediffmail.com
 
Status
Not open for further replies.
Top Bottom