how to send email to two or multipledestination at a time

Mar 19 2009 8:41 AM

Im using the bellow code to send email it is sending fine; it sending to only one destination at a time but i want to send to the two destinations at a time plss help me on this....

MailMessage objmsg = new MailMessage();

objmsg.To = "[email protected]";

objmsg.Subject = "The patient Details Are:";

objmsg.Body = "<html><tr><td>The Temperature Is:" + textBox1.Text + "</td></tr><tr><td>The Pulse Is:" + textBox2.Text + "</td></tr></html>";

objmsg.BodyFormat = MailFormat.Html;

objmsg.From = "[email protected]";

SmtpMail.SmtpServer = "";

SmtpMail.Send(objmsg);


Answers (1)