public static void SendQuickMails(string from, string to, string subject, string body)
{
MailMessage mailMsg = new MailMessage();
mailMsg.From = new MailAddress(from);
string[] tos = to.Split(';');
for (int a = 0; a < tos.Length; a++)
{
if (tos[a].Trim().Length != 0)
mailMsg.To.Add(new MailAddress(tos[a]));
}
mailMsg.Subject = subject;
mailMsg.Body = body;
mailMsg.IsBodyHtml = true;
mailMsg.Priority = MailPriority.High;
SmtpClient mSmtpClient = new SmtpClient();
mSmtpClient.Send(mailMsg);
}
you can pass multiple emails separated by semicolon (;)