title: Seding email via WPF make app shutdown
body: <p>When I try to send email on computer with enviroment(Visual Studio 2015) everything is fine but when I copied it to another computer(VMWare Virtual Machine) and try to run it shutdown, here is main code:</p>
  
  <pre><code>    try
      {
          SmtpClient client = new SmtpClient();
          client.Port = 587;
          client.Host = "smtp.gmail.com";
          client.EnableSsl = true;
          client.Timeout = 10000;
          client.DeliveryMethod = SmtpDeliveryMethod.Network;
          client.UseDefaultCredentials = false;
          client.Credentials = new System.Net.NetworkCredential("bazymysql@gmail.com", "xyz");
  
          MailMessage mm = new MailMessage("donotreply@domain.com", "bazymysql@gmail.com", "Przechwycony ciag znakow", tresc.Text);
          mm.BodyEncoding = UTF8Encoding.UTF8;
          mm.DeliveryNotificationOptions = DeliveryNotificationOptions.OnFailure;
  
          client.Send(mm);
      }
      catch (SmtpException ex)
      {
          MessageBox.Show(ex.Message);
      }
  </code></pre>
  
  <p>What I've tried:</p>
  
  <ul>
  <li>copy System.Net dll </li>
  <li>developing 86x 64x</li>
  <li>run as admin</li>
  </ul>