Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

hi im trying to use CDONTS.NewMa

Status
Not open for further replies.

vkarthik

Programmer
Aug 30, 2001
126
US
hi

im trying to use CDONTS.NewMail to send mails. i have PWS 4.0 installed in my PC to test this. when i try to execute it, i get error saying

Server object error 'ASP 0177 : 800401f3'
Server.CreateObject Failed
/ghostmail.asp, line 3
800401f3

and heres my script:

<%
Dim objCDO
Set objCDO = Server.CreateObject (&quot;CDONTS.NewMail&quot;)
objCDO.To = request.form(&quot;to&quot;)
objCDO.From = request.form(&quot;from&quot;)
objCDO.Subject = request.form(&quot;subject&quot;)
objCDO.Body = request.form(&quot;data&quot;)
objCDO.MailFormat = 0
objCDO.Send
%>

plz help, y is the object not created? do i need anything more than the usual PWS 4.0 installation to get the object?

luv
Karthik.
LOL A ship is safe in the harbour, but that's not what it is meant for!!! LOL
 
Hi

Check to see if you have the CDONTS.dll on your machine

If not then thats the problem

Cheers
 
hi

i dont have cdonts.dll. but where do i get it? i installed pws 4.0 and it doesnt get installed with that. and i heard cdonts is possible only with IIS and that too with Win NT or 2000. im using Win Me. is it still possible?

luv
Karthik.
LOL A ship is safe in the harbour, but that's not what it is meant for!!! LOL
 
HI

To be honest I believe you can only use it with IIS.

Im not sure what you would use on Win Me. I think you might have to get a free download say from freeasp.com.

Sorry I can't be any more help.

Cheers
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top