title: SmtpClient on port 465, any other solutions?
body: <p>I'm using .NET 4.5 SmtpClient, as i found out, that everything on port 465 just returns time out, my question is, is there a way to send emails with port 465 on .NET 4.5</p>
  
  <pre><code>        SmtpClient c = new SmtpClient();
          c.Host = "smtp.gmail.com";
          c.Port = 465; //587;
          c.EnableSsl = true;
          c.DeliveryMethod = SmtpDeliveryMethod.Network;
          c.UseDefaultCredentials = false;
          c.Credentials = new System.Net.NetworkCredential(username, password);
  
          c.Send(from, to, "test", "testtt");
  
          Console.WriteLine("Its ok");
          Console.ReadLine();
  </code></pre>