Implement Send-Email cmdlet


This should be pretty easy by using the System.Net.Mail.SmtpClient type.
Closed Dec 11, 2006 at 6:58 AM by r_keith_hill
Updated to be against release 1.0.


mabster wrote Oct 25, 2006 at 11:47 PM

Would it be a fully-fledged cmdlet, or would you just implement it as a function?

I guess implementing it as a cmdlet would allow you to specify some parameters (like "-port") as being optional, which would be handy.

r_keith_hill wrote Nov 12, 2006 at 4:15 PM

The deployment scenario for PSCX cmdlets is so easy compared to pulling in functions defined in scripts. We install the snapin and all the user has to do as add the snapin to gain access to all the cmdlets. After that they can save the console and just restore from that.

r_keith_hill_cp wrote Dec 11, 2006 at 6:57 AM

Done. Handles authentication using Get-Credential or default newtork credentials or anonymous. Also handles attachment and attachments via literal paths.

r_keith_hill wrote Dec 11, 2006 at 6:57 AM

Updated to be against release 1.0.