Outlook.Application myApplication = Globals.ThisAddIn.Application; Outlook.Explorer myActiveExplorer = (Outlook.Explorer)myApplication.ActiveExplorer(); Outlook.Selection selection = myActiveExplorer.Selection; if (selection.Count == 1 && selection[1] is Outlook.MailItem) { Outlook.MailItem mail = (Outlook.MailItem)selection[1]; mail.Copy(); // currently opened mail Outlook.MailItem mailItem = (Outlook.MailItem) myApplication.CreateItem(Microsoft.Office.Interop.Outlook.OlItemType.olMailItem); mailItem.Subject = mail.Subject; mailItem.To = mail.To; mailItem.Body = ????? // copy only selected text/images of user mailItem.Importance = Outlook.OlImportance.olImportanceLow; mailItem.Display(true); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)