title: How does the Outlook.MailItem instance knows what the target Exchanger Server is?
body: <p>I try to send an email from a C# app, and I can easily finish this job through the following lines (I am using Outlook 2003, and have my outlook account):</p>
  
  <pre><code>Outlook.ApplicationClass oapp = new Outlook.ApplicationClass();
  omessage = oapp.CreateItem(Outlook.OlItemType.olMailItem) as Outlook.MailItem;
  omessage.To = "abc@cba.com";
  omessage.Subject = "Send From WinForm";
  omessage.Body = "Hi, This message is send from a winform project.";
  omessage.Send();
  </code></pre>
  
  <p>Based on the above code, the email can be sent successfully (although there a warning box will be shown before sending the email). </p>
  
  <p>My question is: how does this <code>omessage</code> item knows where my Exchange server is, while I never configured my Exchange Server in this app?</p>
  
  <p>Does there exist any way to get the Exchange Server Name from the code side? Because I really need this server address.</p>
  
  <p>Thanks!</p>