Send same email to multiple users in ASP.Net

Last Reply on Aug 07, 2013 07:14 AM By Mudassar

Posted on Aug 07, 2013 07:11 AM

Hi Mudassar,

 

I have a quick question. How can I send the rich text mail to several recepients? 

 protected void SendEmail(object sender, EventArgs e)

        {
            string body = this.PopulateBody("John",
            "Fetch multiple values as Key Value pair in ASP.Net AJAX AutoCompleteExtender",
            "http://www.posta.ge" +
            "in-ASP.Net-AJAX-AutoCompleteExtender.aspx",
            "Here Mudassar Ahmed Khan has explained how to fetch multiple column values i.e." +
            " ID and Text values in the ASP.Net AJAX Control Toolkit AutocompleteExtender"
            + "and also how to fetch the select text and value server side on postback");
            this.SendHtmlFormattedEmail("johndoe@posta.ge", "New article published!", body);
        }

With this code i can send to only one recepient, namely to johndoe@posta.ge. Say i want to add kitsi@posta.ge as well. Thank you. Zura