Forums

This topic is locked

CDO MAIL PROBLEM

Posted 01 Mar 2001 13:23:21
1
has voted
01 Mar 2001 13:23:21 Aaron Jay posted:
I am trying to have a form be submitted and emailed using CDO, and I am
receiving the following error:



Microsoft VBScript runtime error '800a0046'
Permission denied
emailthanks.asp, line 11

Does this mean that my code is off? or is there a permission needed to be
set on the server?

The code is as follows from line 5:

Set myCDONTS=Server.CreateObject("CDONTS.New.Mail"
strFrom = "Request.Form('email')"
strTo = "Request.Form('name')"
myCDONTS.send
strFrom, strTo
Set myCDONTS = Nothing.



Replies

Replied 02 Mar 2001 04:51:35
02 Mar 2001 04:51:35 Victor Peres replied:
CDO mail does not work with Personal Web Server. Just try to publish your page on the remote server

Replied 02 Mar 2001 10:26:10
02 Mar 2001 10:26:10 Aaron Jay replied:
This is the message I am getting from the remote server, which is an NT server. The admin said that CDO mail was installed, so it seems like I shouldn't be getting this error. Any ideas?


Reply to this topic