How to create Group EmailID with different emails for SMPT Mails RRS feed

  • Question

  • User-1578974752 posted


    I have 300 email with gmail, yahoo etc. I want to send smtp mail to all these 300 emails on a button click. How can I add it to a group. In my company only company's extension emails can be grouped in to 1 ID, so that I can use in To of smtp mail.

    so how to put theses 300 email addresses in TO portion ie.

    here emails is a session name which carry the email ID of one person.


    Wednesday, March 4, 2020 5:16 AM

All replies

  • User-1605831695 posted

    Hi Shsu,

    Can you try with BCC , because why you need to call the function for 300 times..

      private void sendEmail(string email)
            MailMessage emailMassage = new MailMessage();
            //emaillist is email list of 300 email
            foreach (var x in emailList)
            // continue code here

    try this..

    Wednesday, March 4, 2020 6:38 AM