1
Reply

How to send emails to 10 multiple destinations at a time

Pramod Kumar Nandagiri

Pramod Kumar Nandagiri

Apr 18 2009 9:18 AM
4.1k

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)