Knowledge Base Articles » KB100199: When Sending Email Through ASP You Get a "Permission Denied" Error.
If you receive a "Permission Denied"
error when sending email from an ASP page using the CDONTS object, this
is probably because the Web application is being run in its own process
space. When an application is run in its own process space it does not
have access to the IIS metabase, and this prevents the sending of email.
To correct this problem, either run the application in-process, or add
the IWAM_servername account to the list of operators for the default SMTP
service in IIS.