Read this complete knowledgebase articles and know how to install Windows SMTP Server.
To configure SMTP e-mail for a Web application
-
Click 'Start' -> 'Administrative Tools' -> 'Server Manager'
-
Click on 'Features'
-
Click on 'Add Features'
-
Double-click SMTP Server.
-
Click 'Add Required Role Services'
-
Click 'Next' twice then click 'Install'.
-
After installation go to 'Start' -> 'Administrative Tools' -> 'Internet Information Services (IIS) 6.0 Manager'
-
Double click on your COMPUTERNAME
-
Right click on 'SMTP Virtual Server' and go to Properties
-
Click the 'Access' tab
-
Click 'Relay'
-
Add 127.0.0.1 and any IPs assigned to this machine that you want to be able to send emails through from scripts on your server.
|