CDONTS

G

Glenn

Hi,

I have set up a practice page following all the instructions to be able to
submit data and have it both written to a front page database and emailed to
someone.

I keep getting this error when I try to submit the data:


Microsoft VBScript runtime error '800a0046'

Permission denied

/Email5.asp, line 188



Here's what is online 188:

myCDONTSMail.Send strFrom,strTo,strSubject,strBody,lngImportance




If I put an apostrophe before the word my I do not get the same error. The
information gets written to the database, but the email doesn't get sent.

I hard started working on this a few months ago and then got busy with
something else and am just getting back to it now. I thought I had it
working then, but can't remember for sure -- I had several test pages going
and had deleted some of them, perhaps the working one.



I seem to remember the fix being fairly simple, like a missing character or
something, but can't remember what or figure it out.



HELP!


Thanks.
 
C

Chris Leeds, MVP-FrontPage

the apostrophe comments out that line of code, that's why no error.
are you certain you've got access to CDONTS and the server admin isn't using
CDOSYS (or that it's even a windows machine)?



--
Chris Leeds,
Microsoft MVP-FrontPage

ContentSeed: great tool for web masters,
a fantastic convenience for site owners.
http://contentseed.com/
 
J

jrohbock

Glenn,

I'd like to do the same thing that you've done and I'm struggling with this.
Where did you find this information so I can follow the example?
 

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

Top