I am trying to create a form on my company intranet that sends an email of the results after the user submits the data. Unfortunately, users can't send mail because of a Permission Denied error. Specifically, I get the following: Microsoft VBScript runtime (0x800A0046) Permission Denied /mailform.asp line 84.
The CDO code reads as follows:
Dim objCDO
Set objCDO = Server.CreateObject("CDONTS.NewMail")
objCDO.To = strTo
objCDO.From = strFrom
objCDO.Subject = strSubject
objCDO.Body = strBody
Line 84 -->objCDO.Send
At line 84 the program craps out. I can send mail using my administrator's account. However, regular users can't. I have granted read and Execute, read, write and modify permissions on the Inetpub directory and propegated permissions down the directory tree. I have also added permissions to the CDONTS.DLL file in the windows/system32 directory. Can someone please help?
Thanks,
Brian