title: Delete inbox mail item using Exchange server with C#
body: <pre><code>     public static ReadMail()
       {
          ExchangeService Service = new ExchangeService();
          Service.Credentials = new WebCredentials("", "", "");
          Service.AutodiscoverUrl("xyz@xyz.com");
          Folder inbox = Folder.Bind(Service, WellKnownFolderName.Inbox);
          StreamingSubscription streamingsubscription = Service.SubscribeToStreamingNotifications(new FolderId[] { WellKnownFolderName.Inbox }, EventType.NewMail);
          var connection = new StreamingSubscriptionConnection(Service, 30);
          connection.AddSubscription(streamingsubscription);
          connection.OnNotificationEvent += OnNotificationEvent;
          connection.Open();
      }
  
      private static void OnNotificationEvent(object sender, NotificationEventArgs args)
      {
          Item mail = args.Subscription.Service.FindItems(WellKnownFolderName.Inbox, new ItemView(10)).Items[0];
      }
  </code></pre>
  
  <p>I'm connected to a mail account using exchange server(2007). I'm able to read the mail item. after i read &amp; parse the mail item i need to delete the mail item from the inbox. Please help me. Thanks in advance</p>