for (int count = oItems.Count; count >= 1; count--) { try { Microsoft.Office.Interop.Outlook._MailItem oMICopy = oItems[count] as Microsoft.Office.Interop.Outlook._MailItem; oMICopy = (Outlook._MailItem)oItems[count]; RDateTime = oMICopy.ReceivedTime; subject = oMICopy.Subject; string MailBody = oMICopy.HTMLBody; }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)