Here's a piece of code that I use all the time. I've added code now for multiple CCs and an attachment Public Sub sendMail( ByVal strBody As String , ByVal strSubject As String , ByVal strFilename As String ) Try Dim strServer As String = System.Configuration.ConfigurationManager.AppSettings...