MailMessage mail = new MailMessage(); mail.From = new MailAddress(strSenderEmail); //mail.To.Add(new MailAddress(strToEmail)); mail.To.Add(new MailAddress(MyList)); mail.Subject = strSubject; mail.IsBodyHtml = true; AlternateView htmlView = AlternateView.CreateAlternateViewFromString(strBody, null, "text/html"); htmlView.LinkedResources.Add(logo1); htmlView.LinkedResources.Add(logo2); mail.AlternateViews.Add(htmlView); SmtpClient smtp = new SmtpClient(strMailServer); smtp.Send(mail);
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)