title: send bulk Email( more than 100 mails)
body: <p>I am using smtp.corp to send emails from ASP.NET site.
  When selecting 50 mails, here all the  mails are sent (it shows the status as sent), but only few members are receiving mails (just 10 members). How to send bulk email in asp.net??</p>
  
  <p>If am selecting 15 mails, 10 mails are sending, but the remaining are not sending. I am getting this error from SMTP server for remaining emails:</p>
  
  <blockquote>
    <p>Service not available, closing transmission channel. The server
    response was: Too many concurrent SM</p>
  </blockquote>
  
  <pre><code>System.Net.Mail.MailMessage MyMailMessage = new System.Net.Mail.MailMessage();
  try
  {
      if (From == "") From = GetConfigVal("emailfrom");
  
      //System.Net.Mail.MailMessage MyMailMessage = new 
      System.Net.Mail.MailMessage(From, To, Subject, MailBody);
      if (FromName.Trim() != "")
      {
          MyMailMessage.From = new System.Net.Mail.MailAddress(From, FromName);
      }
      else
      {
          MyMailMessage.From = new System.Net.Mail.MailAddress(From);
      }
  
      MyMailMessage.To.Add(To);
      MyMailMessage.Subject = Subject;
      MyMailMessage.Body = MailBody;
  
      if (ReplyEmailID.Trim() != "")
      {
          MyMailMessage.ReplyToList.Add(new  
          System.Net.Mail.MailAddress(ReplyEmailID));
      }
  
      if (CC.Trim() != "")
      {
          MailAddress copy = new MailAddress(CC);
          MyMailMessage.CC.Add(copy);
      }
  
      MyMailMessage.IsBodyHtml = isHTML;
  
      //Proper Authentication Details need to be
      // passed when sending from gmail
  
      System.Net.NetworkCredential mailAuthentication = new
      System.Net.NetworkCredential(GetConfigVal("smtpuser"), 
      GetConfigVal("smtppassword"));
  
      //For different server like yahoo this details changes and you can
      //get it from respective server.
      System.Net.Mail.SmtpClient mailClient = new System.Net.Mail.SmtpClient(GetConfigVal("smtp"),                              int.Parse(GetConfigVal("smtpport")));
      //Enable SSL
      //mailClient.EnableSsl = true;
  
      //mailClient.Port = 25;
      mailClient.EnableSsl = false;
  
      //mailClient.UseDefaultCredentials = true;
  
      mailClient.Credentials = mailAuthentication;
      mailClient.Send(MyMailMessage);
  
  }
  </code></pre>