Send e-mail with attachment and templates – My Script on MSDN Gallery
A short C# script to send e-mail with attachment and template, DLL .NET usable on Windos Systems
Parameters
setMail(string parfrom, string parto, string parcc, string parsubject, string partextmessage, string parpathattach, stringparpathtemplate)
you can find it on My MSDN Gallery
https://gallery.technet.microsoft.com/scriptcenter/0c32d24a-3651-4fe1-8d10-80f9c6440a70
The Official Scripting Guys Forum!