Sending an email via PowerShell

From http://gallery.technet.microsoft.com/scriptcenter/Simple-Powershell-function-8e826d7c