title: Can't send email using implicit SSL smtp server
body: <p>I wrote up a sample program by copying the code in this <a href="http://support.microsoft.com/kb/555287" rel="nofollow">KB article</a> with some little edit as far as user's info.  It uses the deprecate .NET library System.Web.Mail to do it because the new System.Net.Mail does not support implicit SSL.  I went and tested it with Google smtp server on port 465 which is their implicit email port and everything works.  However, when I gave this to a client to test it at his network, nothing get sent/receive, here is the error:</p>
  
  <pre><code>2013-03-07 15:33:43 - The transport failed to connect to the server.
  2013-03-07 15:33:43 -    at System.Web.Mail.SmtpMail.LateBoundAccessHelper.CallMethod(Object obj, String methodName, Object[] args)
  2013-03-07 15:33:43 -    at System.Web.Mail.SmtpMail.CdoSysHelper.Send(MailMessage message)
  2013-03-07 15:33:43 -    at System.Web.Mail.SmtpMail.Send(MailMessage message)
  </code></pre>
  
  <p>I'm not very well versed when it comes to email SSL so here is my possible theory to the root cause:</p>
  
  <p>Assume he is using the right smtp server and right port (SSL port), I wonder if if any of the following could be the cause:</p>
  
  <ol>
  <li><p>They are using SSL on the mail server and yet he does not have the certificate installed on the machine where he runs my program from even though he is on the same domain and use the same email domain as a sender.</p></li>
  <li><p>They are using SSL but they maybe using NTLM or Anonymous authentication while my program uses basic authentication.</p></li>
  </ol>
  
  <p>Sorry if I provide little information because I myself is quite foreign in this area so I'm still researching more.</p>
  
  <p>Do you know of any steps I can do at my end to ensure my little test program can send using the smtp server of an implicit SSL email server?</p>
  
  <p>Edit:  I did add the following line in my code to indicates I'm using SSL.</p>
  
  <pre><code>oMsg.Fields.Add("http://schemas.microsoft.com/cdo/configuration/smtpusessl", "true");
  </code></pre>