Save 15% on Instant Deploy Bare-Metal Servers in 26 Global Markets with Coupon Code: EdgeSave

Why am I getting error while sending a message through a website using CDONTS?

The error I get is:

Application Error
Number: 70 (0x00000046)
Source: Microsoft VBScript runtime error
Description: Permission denied

It turns out that the IIS Lock down tools, when turned on, restricts the everyone permission to the Inetpub\mailroot directory for list folder content only. IUSR_Machine need to be added to the mailroot directory with change permission.

Share on Twitter
Share on Facebook