I have just switched from Outlook 10 to Outlook 11, and some of my code is breaking as a result.
1) if
(col.Item(i) is Microsoft.Office.Interop.Outlook.MailItem)
'No definition for 'Item''
Microsoft.Office.Interop.Outlook.
MailItem oMsg = (Microsoft.Office.Interop.Outlook.MailItem)col.Item(i);
'No definition for 'Item''
Microsoft.Office.Interop.Outlook.
Recipient oRecipient = oMsg2.Recipients.Item(1);
'No definition for 'Item''
I have tried replacing for example col.Item(i) with col[i] but without any success. If anybody could help me out here it really would be appreciated.