stuart-d2
7/29/2016 - 9:00 PM

Test SMTP server by sending a email through powershell

Test SMTP server by sending a email through powershell

PS C:\Users\admin> Send-MailMessage -SMTPServer appmail -To johndoe@gmail.com -From blog@spamsource.com -Subject "This is a test email" -Body "Hi dude, this is a test email sent via PowerShell"