How to send emails to 10 multiple destinations at a time

Apr 18 2009 9:18 AM

Hi,

My code is:

MailMessage mail = new MailMessage();

mail.To = [email protected],[email protected],[email protected]; //Here 3 emails r there they r seperated by a comma  Can I send like above . is the way is correct r any othet is there ,i tried using the above but i did'nt get the message

//Actual my requirement is to send email to atleast 10 destinations at a time

mail.From = "[email protected]";

mail.Subject = "test a mail";

mail.Body = "fdgfghfghggjdfgdfg";

SmtpMail.SmtpServer = "";

SmtpMail.Send(mail);

Response.Write("Mail Sent Sucessfully");

plss help me on this, thanks


Answers (1)