title: Cant differentiate between MailItem and MeetingItem in NewMailEx
body: <p>I am developing an addin using c#. I am able to receive notifications whenever i get any item in my inbox. </p>
  
  <pre><code>    this.Application.NewMailEx += new Outlook.ApplicationEvents_11_NewMailExEventHandler(olApp_NewMail);
  
   private void olApp_NewMail(String itemCollection)
          {
              string [] strNewItems;
              strNewItems = itemCollection.Split(',');
  
              foreach (string newItem in strNewItems)
              {                
                  Outlook.MailItem mail = (Outlook.MailItem)Application.Session.GetItemFromID(newItem, Type.Missing);
                  string old_subj = mail.Subject;
                  string old_body = mail.Body;
  
                  MessageBox.Show(old_subj);
              }
  
          }
  </code></pre>
  
  <p>but the problem is in the event handler i am not able to distinguish whether it is mail item or meeting item. How should i do it? </p>
  
  <p>thanks in advance.</p>
  
  <p>Regards,
  Jeeva</p>