Outlook.Application.ActiveExplorer.Selection.Item(1) will give the only or
first selected item.
Item.Body is the plain text, Item.HTMLBody is the html and Item.Attachments
is the attachments collection. Reading .Body or .HTMLBody in some secured
versions of Outlook (Outlook 2002 SP3 and later or Outlook 2003) will fire
the security prompts.
In Outlook 2003 COM addins are trusted by default, so if your code will run
only there you won't have a problem. If you have to support earlier versions
of Outlook also you would have to use Extended MAPI or Redemption
(www.dimastr.com/redemption) or take one of the other measures listed at http://www.outlookcode.com/d/sec.htm.
Ask a Question
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.