title: sending multiple emails fails for the last email address
body: <p>We are facing an issue with VB.net which automates email being send with text file attachments to more than one email address.
  The strange part is if we send the mail to 2 persons, then first person receives the email but not the second. 
  If we add three email address, then email is received by first two email addresses but no to the third one. it keeps going this way when adding more email addresses.
  Also, while executing the script a second time, email does goes to all recipients. To be precise, emails are received by all recipients on alternate execution of the script only. 
  Does this have anything to do with the time taken by mail server etc? 
  finally what we did to make it work is run the send email command for the last email address two times. I know this is not a permanent solution. 
  Any help is highly appreciated. 
  Thanks in advance. </p>
  
  <pre><code>    public void Main()
      {
          SmtpClient client = new SmtpClient("1.1.1.1", 25);
  
          client.DeliveryMethod = SmtpDeliveryMethod.Network;
  
          client.Credentials = new NetworkCredential("support", "support");
  
          MailMessage EM1= new MailMessage("support@domain.com", "user1@domain.com ",
             "This is my subject" + " " + "  ", "Hello,");
  
          EM1.Attachments.Add(new Attachment(@"F:\WebData\TxtFiles\1.txt"));
          client.Send(EM1);
  
          Dts.TaskResult = (int)ScriptResults.Success;
  
  
          MailMessage EM2 = new MailMessage("support@domain.com", "user2@domain.com",
             "This is my subject" + " " + " ", "Hello,");
  
          EM2.Attachments.Add(new Attachment(@"F:\WebData\TxtFiles\1.txt"));
          client.Send(EM2);
  
          Dts.TaskResult = (int)ScriptResults.Success;
  
          MailMessage EM3 = new MailMessage("support@domain.com", "user3@domain.com",
          "This is my subject" + " " + " ", "Hello,");
  
          EM3.Attachments.Add(new Attachment(@"F:\WebData\TxtFiles\1.txt"));
          client.Send(EM3);
          client.Send(EM3);
  
          Dts.TaskResult = (int)ScriptResults.Success;
  
      }
  }
  </code></pre>
  
  <p>}</p>