I disabled Anonymous Access for my webfolder.
I gave Authentication as Basic Authentication.
users login to this folder and update data. here I am running a script for
sending a mail.
The logged user does not have modify/write permission to the
inetpub/wwwrot/mailroot/pickup folder.
so my script is failing(as Permisson Denied") when I call send method of
CDONTS.NewMail object.
I gave modify permissions to all the users of this tool for
inetpub/wwwrot/mailroot/pickup folder.
then my script is successful.
Is this right way? How do people handle this kind of situation.
is there any danger in doing the above step?
Any suggestion appreciated
Regards,
Vasanth
-----------------------------------
"Aaron [SQL Server MVP]" <te*****@dnartreb.noraa> wrote in message
news:%2****************@TK2MSFTNGP11.phx.gbl...
Stop using CDONTS!
http://www.aspfaq.com/2026
--
http://www.aspfaq.com/
(Reverse address to reply.)
"vasanth kumar" <va***********@eds.com> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...I am running the following script for sending e-mail thro web
Set objCDOMail = Server.CreateObject("CDONTS.NewMail")
objCDOMail.From = "vk****@ugs.com"
objCDOMail.To = "vk****@ugs.com"
objCDOMail.Subject = "Library books"
objCDOMail.BodyFormat = 0
objCDOMail.MailFormat = 0
objCDOMail.Body = "hi"
objCDOMail.Send
Set objCDOMail = Nothing
-------------------------
I get the following error, when I call send method of CDONTS.NewMail
object
---------------------
Microsoft VBScript runtime error '800a0046'
Permission denied
/cae/library/issueupdate.asp, line 61
----------------------------
I tried both the following. Everything looks fine. My OS is windows200
server
http://support.microsoft.com/default...b;en-us;286301
http://support.microsoft.com/default...b;en-us;197619
Can somebody give a clue, what is going wrong
Any help is appreciated
-Vasanth