Created
September 5, 2012 19:55
-
-
Save aggieben/3643522 to your computer and use it in GitHub Desktop.
Send email with PowerShell
This file contains hidden or 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
| $mail = New-Object System.Net.Mail.SmtpClient("smtp.geusnet.com", 25) | |
| $mail.Send("aggieben@gmail.com", "bcollins@praecoemailtest.cloudap...", "testing kato", "blah") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment