Try this,
To
address can be separated by semi-colon(;)...
MessageContent
can be html also...
public void Messager(string MessagingSubjectLine, string MessageContent, string To, string From, string SMTP)
{
string conn = SMTP;
conn = conn.Split(new char[] { '=', ';' })[1];
MailMessage varHTMLMail=new MailMessage();
if (To.Split(';').Length > 1)
{
string[] amto = To.Split(';');
foreach (string s in amto)
varHTMLMail.To.Add(s);
}
else
varHTMLMail.To.Add(To);
varHTMLMail.From = new MailAddress(From);
SmtpClient varSMTPClient;
varHTMLMail.Subject = MessagingSubjectLine;
varHTMLMail.Body = MessageContent;
varHTMLMail.Priority = MailPriority.Normal;
varHTMLMail.IsBodyHtml = true;
varSMTPClient = new SmtpClient(conn);
varSMTPClient.UseDefaultCredentials = true;
varSMTPClient.Timeout = 100000 * 6;
varSMTPClient.Send(varHTMLMail);
}