O'Reilly logo

Pro Windows PowerShell by Hristo Deshev

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

18.7. Summary

This chapter involved some serious programming using objects from the System.Net.Mail namespace in the .NET Framework. We started with simple text-based messages and went on adding support for often-used mail features like richly formatted text and attachments. Even if you are not a programmer, you can follow what the code does and get the general idea. If you do not want to get that deep, using the scripts we created does not require understanding of its inner workings. Just copy send-mail-final.ps1 and mailutils-final.ps1 to a convenient location, and you can use them to send e-mail on any system that has PowerShell installed. To get deeper into System.Net.Mail and cover advanced mail-sending scenarios, you should continue your ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required