When you are using CDONTS to sending email with ASP script and you getting the following error,
Microsoft VBScript runtime error '800a0046' Permission denied /filename.asp, line xx
where xx is the line number using the send method of the NewMail object.
To resolve this issue, you may check the folder permission of your pickup folder in your mail root directory.
1. Access to the mailroot directory and normally it is installed in C:\inetpub\mailroot.
2. Right click on the Pickup folder and select properties.
3. Check if IUSR_<computer> and IWAM_<computer> are added. Else, add it.
in my windows server SMTP server is not there. and in C:inetpub mailroot is also not there what should i do to resolve this issue?
You may need to install IIS SMTP as URL below,
http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/e4cf06f5-9a36-474b-ba78-3f287a2b88f2.mspx?mfr=true