Simple Mail Transfer Protocol (SMTP) is an internet standard for transmission of electronic emails. SMTP services are used to send and receive emails in a secure manner. It’s an email solution if you are sending mails using any script from your website.

Here is a step by step guide to install and configure SMTP services on Windows Server 2016. SMTP by default uses TCP port 25. Installation or configuration of the SMTP server on Windows 2016 is the same as Windows Server 2012 except for a few differences related to the interface of both the servers.

Let’s start with the configuration steps of SMTP Service on Windows Server 2016

Installation of SMTP Service

  1. Open the Server Manager Dashboard. Click on ‘Manage’, then ‘Add Role & Features’.Step by step tutorial on how to configure SMTP server in Windows server 2016 1
  2. Click on ‘Next’ after this.Step by step tutorial on how to configure SMTP server in Windows server 2016 2
  3. Select ‘Role-based or feature-based installation’, then click ‘Next’.Step by step tutorial on how to configure SMTP server in Windows server 2016 3
  4. Select a server from pool.Step by step tutorial on how to configure SMTP server in Windows server 2016 4
  5. Click on ‘Next’ after selecting the role the server would play.Step by step tutorial on how to configure SMTP server in Windows server 2016 5
  6. Select ‘Features’. Next scroll down the list and select the ‘SMTP Server’ feature. Then click on next.Step by step tutorial on how to configure SMTP server in Windows server 2016 6
  7. A new window appears to inform you that some other services can also be installed. Click “Add Features” to confirm and continue.Step by step tutorial on how to configure SMTP server in Windows server 2016 7
  8. Click on ‘Next’ to continue.Step by step tutorial on how to configure SMTP server in Windows server 2016 8
  9. Click on ‘Install’ to complete the installation.Step by step tutorial on how to configure SMTP server in Windows server 2016 9
  10. Once the installation has been completed, click on ‘Close’. Close button will appear after complete installation.Step by step tutorial on how to configure SMTP server in Windows server 2016 10

Configuration of SMTP Services

  1. Launch the Internet Information Services (IIS) 6.0 Manager.Step by step tutorial on how to configure SMTP server in Windows server 2016 11
  2. Right-click on ‘SMTP Virtual Server #1’ and select ‘Properties’.Step by step tutorial on how to configure SMTP server in Windows server 2016 12Step by step tutorial on how to configure SMTP server in Windows server 2016 13

    Step by step tutorial on how to configure SMTP server in Windows server 2016 14

  3. Tap the General tab and change the IP Address to the server’s IP address.Step by step tutorial on how to configure SMTP server in Windows server 2016 15
  4. Then tap the ‘Access’ tab and click on the ‘Connection’ button.Step by step tutorial on how to configure SMTP server in Windows server 2016 16
  5. In the Connection window, select ‘Only the list below’ and click on the ‘Add’ button.Step by step tutorial on how to configure SMTP server in Windows server 2016 17
  6. Select the ‘Single computer’ option. To use the internal SMTP, type the IP address, add ‘Group of computers’ or ‘Domain’ of the devices permitted, and then click on the ‘OK’ button.Step by step tutorial on how to configure SMTP server in Windows server 2016 18
  7. In the ‘Access’ tab of the Connection window, click on the ‘Relay’ button to add the same permitted devices to the Relay restrictions’ list.Step by step tutorial on how to configure SMTP server in Windows server 2016 19Step by step tutorial on how to configure SMTP server in Windows server 2016 20
  8. In the ‘Delivery’ tab of the Connection window, set an external domain.Step by step tutorial on how to configure SMTP server in Windows server 2016 21Step by step tutorial on how to configure SMTP server in Windows server 2016 22
  9. Go to ‘Run’ and type wf.msc. This will launch the Windows Firewall with Advanced Security console.
  10. To begin the wizard, right-click on ‘Inbound Rules’ and select ‘New Rule’.Step by step tutorial on how to configure SMTP server in Windows server 2016 23
  11. Select ‘Port’ and click on ‘Next’.Step by step tutorial on how to configure SMTP server in Windows server 2016 24
  12. Set the local port to 25 and click on ‘Next’.Step by step tutorial on how to configure SMTP server in Windows server 2016 25
  13. Select ‘Allow the connection’ and click on ‘Next’.Step by step tutorial on how to configure SMTP server in Windows server 2016 26
  14. Uncheck ‘Public’ (Ignore if you want to access the services from outside) to prevent external access to the server. Click on ‘Next’.Step by step tutorial on how to configure SMTP server in Windows server 2016 27
  15. Give the rule a name, and click on ‘Finish’.Step by step tutorial on how to configure SMTP server in Windows server 2016 28
  16. You can now see a new rule enabled in the firewall management console.Step by step tutorial on how to configure SMTP server in Windows server 2016 29
  17. Go to ‘Run’ and type wf.msc.Step by step tutorial on how to configure SMTP server in Windows server 2016 30
  18. Here you can see that SMTP services are running.Step by step tutorial on how to configure SMTP server in Windows server 2016 31
  19. Now you can deliver the mails with your windows server 2016 email server as per your convenience.

Also, you can configure the SMTP server in Linux too. To know how to do it, read the blog – A step by step guide on how to configure SMTP server in Linux”.

No matter which web hosting service – Windows/Linux, you have for your business, if you are not looking for a mail server and just want to send emails through contact-us form, then you can send mails from your server with the above configuration.

Hope this article helps you in setting up SMTP server on Windows 2016 easily. Feel free to drop any queries in the section below.

Services ZNetLive offer:

Domain Name Search

Buy Shared Hosting

Managed WordPress Hosting Plans

Buy VPS Hosting

Dedicated Server Rental

Umesh Dubey

Umesh, Team Lead - Technical, is a Microsoft products’ expert with enviable certifications like RHCE, MCPS, MCSA and MCSE. An excellent team player, he utilizes his expertise of over 7 years in the technical sphere to handle technical issues brilliantly and dedicatedly value adds to the system administration and management fields. He can be seen drawing or playing chess in free time.
Umesh Dubey