Answered by the Webhosting Experts

How to Install and Control SMTP on Windows Server

What is SMTP?

SMTP serves as the backbone for mail delivery within Windows Server environments, primarily functioning as a relay for internal applications and automated scripts. It acts as a local bridge, accepting outgoing messages and forwarding them to a more robust provider like Microsoft 365 or a corporate Exchange server. Because it relies on legacy IIS components, it remains a specialized tool used mostly for ensuring that legacy hardware, like scanners or monitoring tools, can communicate effectively over modern networks.

Installation of SMTP Feature in Windows Server

If you do not have SMTP feature installed in your Windows server, proceed to install it as per the steps below.

  1. Within “Server Manager”, press on “Manage” > “Add Roles and Features”.
     
    Adding Roles & Features
    Adding Roles & Features
  2. Within “Installation Type” Select the “Role-Based” option.
  3. Select the server you have from the server pool.
  4. Proceed as is within the “Server Roles” section without making any changes.
  5. Within the “Features” section, select “SMTP Server”. Add the other items it requires as dependencies.

    Adding SMTP Server
    Adding SMTP Server

  6. In the “Confirmation” section, proceed to press Install and allow the unit to reboot itself at the end of the installation.
     
    Feature Installation
    Feature Installation
  7. Proceed to reboot the unit to complete installation.

Starting or Stopping SMTP Service in Windows Server 

Starting or stopping your SMTP service on a computer running a Windows OS can be done in one of several ways.

Using the Windows Interface

To start or stop SMTP using the Windows interface, follow these steps:

  1. Open Services. This can be done from the Start menu -> Control Panel -> Administrative Tools -> Services. 
    1. You can also search for “services.msc” in the search bar for a faster path.
  2. In the details pane, locate the Simple Mail Transfer Protocol (SMTP) service and you will be able to start, stop, restart the service as necessary.  
SMTP Service
SMTP Service

Using the Command Line

To start or stop SMTP using the command line, follow these steps:

  1. Open a Command Prompt. This can be done from the Start menu -> All Programs -> Accessories -> Command Prompt.
    1. You can also search for “Command Prompt” in the search bar for a faster path.
  2. Within the Command Prompt, enter the command net {start|stop} smtpsvc.
Managing SMTP Via Command Prompt
Managing SMTP Via Command Prompt

— Written by Pascal Suissa 

Need More Personalized Help?

If you have any further issues, questions, or would like some assistance checking on this or anything else, please reach out to us from your my.hivelocity.net account and provide your server credentials within the encrypted field for the best possible security and support.

If you are unable to reach your my.hivelocity.net account or if you are on the go, please reach out from your valid my.hivelocity.net account email to us here at: support@hivelocity.net. We are also available to you through our phone and live chat system 24/7/365.