Sending Mail To Multiple Recipients Using Gmail in ASP.NET

Want to send mail to multiple recipients ? No worries…

Do the same code explained in https://gagmansa.wordpress.com/2013/08/06/sending-email-via-gmail-using-c/

The thing is to do is just add multiple Recipient’s names in your TextBox labeld with ‘To’, like this

mail

OR if you want to add multiple Recipients in code, use comma ‘,’ with multiple email id’s

like this

string to = “******@rediffmail.com , ******@gmail.com “;

MailMessage  m = new MailMessage(“sender@gmail.com”,to);

        m.Subject = txtSUB.Text;
        m.Body = txtBODY.Text;

rest of the code is same…

2 thoughts on “Sending Mail To Multiple Recipients Using Gmail in ASP.NET

  1. I’m truly enjoying the design and layout of your blog. It’s a very easy on the eyes which makes it much more pleasant for me to come here and visit more often. Did you hire out a developer to create your theme? Outstanding work! bkedkeeeaked

    • Thanks a lot John for your valuable comment.
      I haven’t hired any developer for design. These are free themes in wordpress Blog.
      Thanks again for liking my blog. I wish it will help you lot in future too.

Leave a reply to Johnc636 Cancel reply