Monthly Archives: December 2015

Test SMTP server on Windows using PowerShell

Quick test to find out whether you setup the SMTP server correctly.

Send-MailMessage -SMTPServer localhost -To [email protected] -From [email protected] -Subject "Test" -Body "Test"