Wrox Home  
Search P2P Archive for: Go

  Return to Index  

asp_cdo thread: Permission Denied Error on objCDO.Send


Message #1 by "Adam Warren" <lscwebmaster@o...> on Mon, 24 Jun 2002 18:13:15
Hi-

I keep getting a permission denied error (html 500 error # 0x800A0046) on 
my line which contains "objCDO.Send" and I've tried the following two 
things:

1). I've verified the the IUSR_MachineName has full control permissions on 
the mailroot directory

2). I referenced the MS KnowledgeBase Article about this error (mskb: 
Q286301) to my IT guy who "runs" the 2000 server we use.

Anyway, I'm still getting the error.

Here's my (standard?) code:

Dim objCDO
Set objCDO = Server.CreateObject("CDONTS.NewMail")

objCDO.To = "(email here)"
objCDO.From = "(email here)"
objCDO.Subject = "automatic e-mail from webserver"
objCDO.Body = "this is a test. this is an email sent from the webserver" 
objCDO.Send

Set objCDO = Nothing

Can anyone with more 2000 server experience help? I'm not experienced 
enough to point my IT guy in any other directions!

Thanks-
Adam Warren

  Return to Index