Send-EmailMessage.ps1

by Sep 5, 2009

< #   .SYNOPSIS      This script creates and sends an SMTP email message.  .DESCRIPTION      This script first creates a System.Net.Mail.Mailmessage, and populates      it. Next, it creates an system.Net.Mail.SmtpClient, which then sends      the message to the SMTP Server, and onwards transmission. This script      is effectively a re-write of the C # sample above.   .NOTES      File Name  : Send… Read the full text.