title: C# get the selected text in the body of the email for MS Outlook 2007
body: <p>I am using C# and outlook-addin.</p>
  
  <p>I want to be able to have the user select a part of the mail message/body and I want to be able to copy the selected items, and it store it to an sql server database.</p>
  
  <pre><code>Outlook.Application myApplication = Globals.ThisAddIn.Application;
  Outlook.Explorer myActiveExplorer = 
      (Outlook.Explorer)myApplication.ActiveExplorer();
  
  Outlook.Selection selection = myActiveExplorer.Selection;
  
  if (selection.Count == 1 &amp;&amp; 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);
  }
  </code></pre>
  
  <p>On the <code>mailITem.Body</code>, I just want to paste the selected text/images of the user from the selected mail (the currently opened email).</p>
  
  <p>I cant find the paste method, How can I implement it?</p>