title: Message submission rate for this client has exceeded the configured limit?
body: <p>I have a for loop which calls some code sending emails. I get the following run-time error:</p>
  
  <blockquote>
    <p>Service not available, closing transmission channel. The server
    response was: 4.4.2 Message submission rate for this client has
    exceeded the configured limit</p>
  </blockquote>
  
  <p>After googling around it appears to be related to the "set-receiveconnector", possible for exchange server? Could anyone advise how I can fix this?</p>
  
  <p>the code:</p>
  
  <pre><code>             var mail = new MailMessage();
               var smtpServer = new SmtpClient(SMTPServer);
  
               mail.From = new MailAddress(fromAddress);
               mail.To.Add(toAddress);
               mail.Subject = title;
  
               mail.IsBodyHtml = isHTML;
               mail.Body = message;
  
               if(attach != null) mail.Attachments.Add(attach);
  
               smtpServer.Port = xxx
               smtpServer.UseDefaultCredentials = false;
               smtpServer.Credentials = new NetworkCredential(SMTPUser, SMTPPassword);
               smtpServer.EnableSsl = true;
               smtpServer.Send(mail); //Error occurs here
  </code></pre>