Last active
April 23, 2017 08:04
-
-
Save amritanshu-pandey/da3904fc7274b9e4797801e7a19be225 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Send-MailMessage ` | |
-To "[email protected]" ` | |
-CC "[email protected]" ` | |
-Subject "Hello from Poweshell" ` | |
-Body "Hello Receiver" ` | |
-SmtpServer "smtp.gmail.com" ` | |
-From "[email protected]" ` | |
-Port 587 ` | |
-UseSsl ` | |
-Credential "test_password" ` | |
-Attachments "mail.ps1" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment