Test SMTP server via PowerShell/Command Line

You found this useful for testing SMTP servers in Sharepoint.

http://www.vsysad.com/2013/10/testing-smtp-server-from-the-command-line/

Send-MailMessage -smtpserver localhost -to kanye@illuminati.gov -from barry_o@whitehouse.secret -subject “Isn’t it great being a secret lizard man?” -body “Ssssssss…”

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: