I have a routine that iterates through a users inbox and carries out various transactions on each email. This is all working fine. However if a user has a meeting request in the inbox the routine falls over. Can someone reccomend a way of handling this as i want to ignore the meeting requests.
Dim inbox As MAPIFolder = Me.Application.ActiveExplorer().Session.GetDefaultFolder(OlDefaultFolders.olFolderInbox)
Dim items As Outlook.Items = inbox.Items
For Each mi As MailItem In items