| Configure SMTP and install
CDONTS for email sender component |
|
|
CDONTS was deprecated by Microsoft as email sender component for Windows
2003, replaced by CDOSYS but some ASP scripts still require CDONTS. This
tutorial will show you how to install CDONTS and configure MS IIS6 SMTP
service to relay email send by ASP scripts. |
|
Download CDONTS here |
| Extract the cdonts.dll and place it under C:\WINODWS\system32 along with
cdosys.dll
 |
| Click Start >> Run and type in regsvr32 c:\windows\system32\cdonts.dll
to register this component
 |
| succeeded register cdonts.dll component
 |
| Open IIS console right click on Default SMTP virtual service and go its
properties
 |
|
|
| assign the ip address for MS SMTP service and also enable logging then
click advanced button
 |
| set the port number: if you use another email server software other than
the default MS smtp and pop service (since the MS smtp and pop service is
not an ideal email soultion) set the port to any number to any other number
beside 25.
 |
| click on Access tab and go to Authentication
 |
|
|
| uncheck the Anonymous access and check to
use Integrated Windows Authentication to prevent anonymous user from using
MS smtp service to send out spam
 |
| now we need to set the permission for mailroot folder in order for ASP
to create and send out email, open Windows Explorer and go to c:\Inetpub and
right click on mailroot folder and go to its properties
 |
| click on the security tab and click add button, we going to add
IUSR_machine account to give it access to mailroot folder
 |
|
|
| type in the IURS_machine account, in my case my server name is Austin
 |
| Click on IUSR_machine account (Internet Guest Account) and uncheck any
other permission and give it only write permission
 |
| That's it! |