Configuring SMTP Server Using PowerShell

Configuring SMTP Server Using PowerShell

Let us first go through the manual steps required for configuring SMTP server and PowerShell script is included in the end. For this example, we are using Microsoft Windows Server 2016 and the configuration might change based on the operating system. Restart the server and test the smtp mail functionality using below PowerShell command Send-MailMessage -SMTPServer localhost -To to@gmail.com -From […]