Send Email from Windows PowerShell

Once you have SMTP details, open Windows PowerShell and execute the following commands one by one. You need to change the orange highlighted values with the appropriate values as per your setup. This will send email to the recipient address via defined remote SMTP server. You can also write this in a PowerShell script and execute.