kempis555
Programmer
- Jan 2, 2001
- 77
Fear! Fear and Trembling!
Hi all,
I'm afraid because I'm stumped bad. On a new Win2K box when I try to run the following mailing script I get runtime error "800a0046 Permission Denied" on line 4:
<%
Dim objNewMail
Set objNewMail = CreateObject("CDONTS.NewMail"![Wink ;) ;)](data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)
objNewMail.Send "me@mys.com", "same@mys.com", "Hello", "I sent this in 3 statements!", 0 ' low importance
Set objNewMail = Nothing
%>
Line 4 is where the objNewMail is sending the mail. I know it's not the object creation which is failing, because in another script I have some code which successfully makes a FileScriptingObject. That object is able to write to a file just fine and dandy.
I've tried changing the permissions on all of the mail folders under the mailroot, and I've granted Operator privileges to the IUSR and IWAM accounts under the Default Mail Server. Heck, I've even allowed Everyone to run and execute all DLL's in Winnt which have "mail" or "SMTP" in their names!!!
Bleah. Is there anything I'm missing? I'm not a network admin so this is all rather new to me. Is there any other way to test the mail server on a new box?
-k
help me obi wan kenobi...
Hi all,
I'm afraid because I'm stumped bad. On a new Win2K box when I try to run the following mailing script I get runtime error "800a0046 Permission Denied" on line 4:
<%
Dim objNewMail
Set objNewMail = CreateObject("CDONTS.NewMail"
objNewMail.Send "me@mys.com", "same@mys.com", "Hello", "I sent this in 3 statements!", 0 ' low importance
Set objNewMail = Nothing
%>
Line 4 is where the objNewMail is sending the mail. I know it's not the object creation which is failing, because in another script I have some code which successfully makes a FileScriptingObject. That object is able to write to a file just fine and dandy.
I've tried changing the permissions on all of the mail folders under the mailroot, and I've granted Operator privileges to the IUSR and IWAM accounts under the Default Mail Server. Heck, I've even allowed Everyone to run and execute all DLL's in Winnt which have "mail" or "SMTP" in their names!!!
Bleah. Is there anything I'm missing? I'm not a network admin so this is all rather new to me. Is there any other way to test the mail server on a new box?
-k
help me obi wan kenobi...