469,304 Members | 2,192 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,304 developers. It's quick & easy.

CDONTS problem

I have been using CDONTS for a while.
Now I get the message

Microsoft VBScript runtime error '800a0046'

Permission denied

anyideas?
Jul 19 '05 #1
7 4975
"Gonzosez" <tb***@hinklemfgNS.com> wrote in message
news:u0**************@TK2MSFTNGP10.phx.gbl...
I have been using CDONTS for a while.
Now I get the message

Microsoft VBScript runtime error '800a0046'

Permission denied

anyideas?


Do you have any code to show for the area around where this happens? Could
be a number of things, depending on how you are accessing the SMTP service.

R.
Jul 19 '05 #2
Make sure that your IUSR account has permissions to write to the
\inetpub\mailroot\pickup directory.

Ray at work

"Gonzosez" <tb***@hinklemfgNS.com> wrote in message
news:u0**************@TK2MSFTNGP10.phx.gbl...
I have been using CDONTS for a while.
Now I get the message

Microsoft VBScript runtime error '800a0046'

Permission denied

anyideas?

Jul 19 '05 #3
hi

I had the same problem but i spent several weeks trying
different methods to get the issue resolved..

If you can try doing a search in google for CDOSYS. It's
another mail component similar to CDONTS but with better
functionality. I believe support for CDONTS is slowly
dying out

Hope this helps some!
-----Original Message-----
I have been using CDONTS for a while.
Now I get the message

Microsoft VBScript runtime error '800a0046'

Permission denied

anyideas?
.

Jul 19 '05 #4
sample of code

msgto="to@home.com"
msgfrom="me@home.com
msgsubject="this is the subject"

msgbody="<html><body>"
msgbody= msgbody & "<br>This is the message<br>"
msgbody=msgbody & "</body></html>"
Set objCDO = Server.CreateObject("CDONTS.NewMail")
objCDO.To = msgTo
objCDO.From = msgfrom
objCDO.Subject = msgsubject
objCDO.BodyFormat = 0
objCDO.MailFormat = 0
objCDO.Body = msgBody

objCDO.Send >>>>>error occurs here

Set objCDO = Nothing
"Richard K Bethell" <so*****@spammingisevil.bad> wrote in message
news:Ok**************@TK2MSFTNGP11.phx.gbl...
"Gonzosez" <tb***@hinklemfgNS.com> wrote in message
news:u0**************@TK2MSFTNGP10.phx.gbl...
I have been using CDONTS for a while.
Now I get the message

Microsoft VBScript runtime error '800a0046'

Permission denied

anyideas?
Do you have any code to show for the area around where this happens? Could
be a number of things, depending on how you are accessing the SMTP

service.
R.

Jul 19 '05 #5

<an*******@discussions.microsoft.com> wrote in message
news:0d****************************@phx.gbl...
hi

I had the same problem but i spent several weeks trying
different methods to get the issue resolved..
Several weeks, eh? If you use a tool such as Google and search
http://www.google.com/search?q=800a0046+cdonts, you'll see the second result
is KB article with the solution. Use Google and other such things to change
the "several weeks" to "several seconds."

If you can try doing a search in google for CDOSYS. It's
another mail component similar to CDONTS but with better
functionality. I believe support for CDONTS is slowly
dying out


True. CDONTS is in W2K for legacy support purposes, but it is gone as of XP
and 2003. OP should use CDO unless he's on an NT server. Search
www.aspfaq.com for CDO.

Ray at work
Jul 19 '05 #6
Use CDO.Message.
http://www.aspfaq.com/2026

"Gonzosez" <tb***@hinklemfgNS.com> wrote in message
news:u0**************@TK2MSFTNGP10.phx.gbl...
I have been using CDONTS for a while.
Now I get the message

Microsoft VBScript runtime error '800a0046'

Permission denied

anyideas?

Jul 19 '05 #7
Once again, it pays to ask the experts.
Thanks
"Aaron Bertrand - MVP" <aa***@TRASHaspfaq.com> wrote in message
news:ef**************@TK2MSFTNGP09.phx.gbl...
Use CDO.Message.
http://www.aspfaq.com/2026

"Gonzosez" <tb***@hinklemfgNS.com> wrote in message
news:u0**************@TK2MSFTNGP10.phx.gbl...
I have been using CDONTS for a while.
Now I get the message

Microsoft VBScript runtime error '800a0046'

Permission denied

anyideas?


Jul 19 '05 #8

This discussion thread is closed

Replies have been disabled for this discussion.

By using this site, you agree to our Privacy Policy and Terms of Use.