Web Debug

Fix broken web applications, from servers to clients.

How to configure SMTP service on IIS

To install IIS SMTP

Windows 2003
1. Under Add/Remove Programs, choose to Add/Remove a Windows Component.
2. Choose IIS and SMTP, and install. You may need access to your operating system's install CD.
3. Reboot after installation.

Windows 2008
1. Select Start|Control Panel.
2. Double click Programs and Features.
3. Click Turn Windows Features on and off. This starts the Server Manager.
4. Click Add Features.
5. Check SMTP Server. Click Install.

To setup IIS SMTP

Windows 2003
1. Check whether the SMTP service is running. Right click on My Computer and select Manage.
2. In Computer Management expand Services and Applications.
3. Expand Internet Information Services and right click on Default SMTP Virtual Server and select Properties.
4. Select the Delivery tab and press the Advanced button.
5. In the Smart Host enter the IP Address of your mail server and the Fully qualified domain name of the server listed in the Smart Host for the Fully-qualified domain name.
6. In the Masquerade domain enter the domain name of your primary email domain (e.g. imlogic.com).
7. Press OK to accept the changes.

Windows 2008
1. Click Start|Administrative Tools|Internet Information Services (IIS) 6.0 Manager.
3. Expand and right click on SMTP Virtual Server and select Properties.
4. Select the Delivery tab and press the Advanced button.
5. In the Smart Host textbox enter the IP Address of your mail server and the Fully qualified domain name of the server listed in the Smart Host for the Fully-qualified domain name.
6. In the Masquerade domain enter the domain name of your primary email domain (e.g. imlogic.com).
7. Press OK to accept the changes.

To test IIS SMTP

1. Open a text editor
2. Type in the following text :

to:.com
from:.com
subject:This is a test.

This is a test.

The following is an example:

to: john@foobar.com
from: jane@symanec.com
subject:This is a test.

This is a test.

Replace the email addresses with ones that exist in your organization.

3. Save the file as a .txt file to the c:\Inetpub\mailroot\Pickup\ folder.
4. You should receive the email message. If the message fails, the following Microsoft KB article gives further IIS SMTP troubleshooting instructions: How to test outbound mail flow with a file in the Pickup folder.

Other Resource

Config the Server SMTP IIS6 to send Mail
http://www.codeproject.com/Articles/8196/Config-the-Server-SMTP-IIS-to-send-Mail
Configure SMTP E-Mail in IIS 7
http://www.iis.net/learn/application-frameworks/install-and-configure-php-on-iis/configure-smtp-e-mail-in-iis-7-and-above

Fork me on GitHub