|
Get started with email... |
SendSmtp.ps1
Description Basic routine demonstrating sending of SMTP mail message using .Net framework mail classes. Includes ability to specify SMTP Auth credentials for server. There is a PowerShell cmdlet to send an email message, and that may be preferable/quicker in some situations. Using the .Net classes gives access to everything you might want to do, if you can decipher the MSDN information intended for C# developers. Configuration Define variables within script body. Execution Just run it. Documentation Just this |