The internal SMTP server feature is deprecated but not removed on Microsoft Windows Server 2012, so when moving legacy applications from an older server, you can still install the internal SMTP under IIS 6 on Windows Server 2012 R2 to avoid using a separate Exchange Server. Here are the steps to install it.
Steps
-
Launch Server Manager.
-
On the Dashboard, click Add roles and features on the right pane.
-
Click Next > button to go to Installation Type (on left) and select Role-based or feature-based installation on the right and click Features on the left.
-
In a box under the heading Features, check SMTP Server. There will be a pop-out screen to add more services or features. Just click the Add Features button.
-
You will be shown a confirmation screen. Click the Install button. Click Close button when finished.
-
You can find the IIS 6 by going to the tile menu and pick the icon with the purple background as pictured.
-
Launch the IIS 6 Manager to configure the SMTP server.
The default location of your SMTP folders will be in C:\inetpub\mailroot. You can move these default directories to a different drive.
Further Reading
Features Removed or Deprecated in Windows Server 2012 R2
How to Fix SMTP 550 5.7.1 Unable to Relay Error on Windows Server 2012 R2
Mastering Windows Server 2012 R2
Windows Server 2012 R2 Inside Out Volume 1: Configuration, Storage, & Essentials
Windows Server 2012 R2 Inside Out Volume 2: Services, Security, & Infrastructure
Training Guide Installing and Configuring Windows Server 2012 R2 (MCSA)
Narmada says
Thank you so much. It worked!!