title: How to use Outlook interpo to update server and logon information
body: <p>I need to create an application that will allow me to change server information and credentials on all pop3 accounts in Outlook.</p>
  
  <p>I was able to pull something out like this:</p>
  
  <pre><code>Outlook.Application oapp = new Outlook.Application[];
  Outlook.Accounts accounts = oapp.Session.Accounts;
  
  foreach (Outlook.Account account in accounts) {
      MessageBox.Show(account.SmtpAddress);
      Marshal.ReleaseComObject(account);
  }
  
  Marshal.ReleaseComObject(accounts);
  Marshal.ReleaseComObject(oapp);
  </code></pre>
  
  <p>However I can't find a way to access and change the information that I need, which is:</p>
  
  <ul>
  <li>Incoming mail server</li>
  <li>Outgoing mail server</li>
  <li>Username and Password</li>
  </ul>