title: Outlook VSTO AddIn for Meetings
body: <p>We have created a VSTO addin for Outlook Meetings.</p>
  
  <p>As part of this we trap on the <code>SendEvent</code> of the message on the <code>FormRegionShowing</code> event:</p>
  
  <pre><code>_apptEvents.Send += new Microsoft.Office.Interop.Outlook.ItemEvents_SendEventHandler(_apptEvents_Send);
  </code></pre>
  
  <p>The method <code>_apptEvents_Send</code> then tests on a couple of properties and exits where appropriate.</p>
  
  <pre><code>private void _apptEvents_Send(ref bool Cancel)
  {
      if (!_Qualified)
      {
          MessageBox.Show("Meeting has not been qualified", "Not Qualified Meeting", MessageBoxButtons.OK, MessageBoxIcon.Information);
          chkQualified.Focus();
          Cancel = true;
      }
  }
  </code></pre>
  
  <p>The problem that we're having is that some users' messages get sent twice. Once when the meeting is sent and a second time when the user re-opens outlook. </p>
  
  <p>I've looked for memory leaks, thinking that something might not be getting disposed of properly, and have added explicit object disposal on all finally calls to try and make sure resources are managed, but still getting the functionality incosistently across the organization. i.e. I never encountered the problem during development, nor other developers during testing. All users are up to date on framework (3.5 SP1) and Hotfixes for Outlook. </p>
  
  <p>Does anyone have any ideas on what might be causing this?</p>
  
  <p>Any ideas anyone might have would be greatly appreciated. </p>