Send an email using Powershell command line

Powershell command line is available within Windows 7 – simply search for “powershell” and click on what is found.

This command will next a email going out – good for checking if you can send an email from a 3rd party bit of software.

send-mailmessage -to matthew.clark@bristol-computer-support.co.uk -from maadmin@domainname.com -subject test – body test – SmtpServer servername

About mclark

20 years, Computer Engineer. Bsc Hons Computer Science, Durham Uni.
This entry was posted in SBS 2011. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.