How to Send an Smtp Email using Powershell – Send-MailMessage

Sending an Smtp mail using power shell as been simplified using “Send-MailMessage” Cmdlet

Lets see how to do it !!

Send-MailMessage –From "administrator@careexchange.in" –To "User1@domain.com", "User2@careexchange.in" -Subject "Mail using Powershell !!" –Body "Body of my Power shell Email" -Priority High -SMTPserver "Exchange2010 Server FQDN"

image

Logging into User1 or User2

Received the below email

image

Mail Generated to User1 and User2 Successfully !

About Satheshwaran Manoharan

Satheshwaran Manoharan is an Microsoft Office Server and Services MVP , Publisher of Azure365pro.com. Specialized in Office365 / Microsoft Exchange / Virtualization , Sathesh is an Messaging Expert supporting/Designing/Deploying many medium size businesses to large enterprises when it comes to Corporate messaging and Virtualization Infrastructure

Check Also

Adding [EXTERNAL] for emails with Auto Remove on Reply

In the world of spam and the number of phishing emails is increasing day by …

Leave a Reply

Your email address will not be published.