Windows Error: Microsoft VBScript runtime error ‘800a0046’ Permission denied

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.