title: Outlook mail not moving physically to another folder sometimes
body: <p>Below is my code to move mails from inbox to another folder.  </p>
  
  <pre><code>Microsoft.Office.Interop.Outlook.MAPIFolder inboxFolder = null; 
  inboxFolder = ns.GetDefaultFolder(Microsoft.Office.Interop.Outlook.OlDefaultFolders.olFolderInbox);
  Microsoft.Office.Interop.Outlook.MAPIFolder destFolder = inboxFolder.Folders[somefoldername]; 
  int countofmails = inboxFolder.Items.Count;           
  for (int j = countofmails; j &gt; 0; j--)
  {
   Object _obj=inboxFolder.Items[j];
   if (_obj is MailItem)
    {
      MailItem mi = (MailItem)_obj;                       
      if (mi != null)
      {
       mi.SaveAs(somepath,OlSaveAsType.olMSG);
       mi.Move(destFolder);
       System.Runtime.InteropServices.Marshal.FinalReleaseComObject(mi);
      }
    }
  }
  </code></pre>
  
  <p>This code works properly, but once in blue moon, even if the code runs successfully, the mail item is still seen in the inbox folder.</p>