Skip to content

Internet Information Services

Install the SMTP server feature

  1. Open the Server Manager and select Add roles and features.
  2. Click Next and select the Role-based or feature-based installation option.
  3. Click Next again and select the server on which to install the SMTP relay. Click Next until you reach the Features page.
  4. Select the SMTP Server feature. Click Add Features to install the required dependencies
  5. Click Next until you get to the Confirmation page and review the installation summary. Click Install to begin the installation.
  6. Once the installation is complete, click Close.

IIS Add Roles and Features Wizard

Configure the SMTP relay

In the Start menu, under Windows Administrative Tools, open Internet Information Services (IIS) 6.0 Manager

  1. Select your server. Right-click on the SMTP virtual server and select Properties.
  2. Select the Delivery tab, and click Advanced
  3. Enter in.smtp.sendamatic.net in the Smart host field, and click OK
  4. Click Outbound Security
  5. Select Basic Authentication, and add the mail credentials you created from the Sendamatic console.
  6. Ensure that TLS encryption is checked, and click OK

IIS SMTP Virtual Server

Allow connections to the SMTP relay

In the Access tab, click Relay

Click Add, and enter the IP address or hostname of the server that will be sending emails through the IIS SMTP relay.

  1. Click OK and then click Apply to save the changes.

  2. Click OK to close the SMTP Virtual Server Properties window.

Test the relay

The SMTP relay is now configured and ready to use. You can test the configuration by sending an email using the SMTP relay.

Send-MailMessage -From "[email protected]" -To "[email protected]" -Subject "Test" -SmtpServer 127.0.0.1 -Body "Test"