Help extracting info from layered, attached mail messages

  • Thread starter Thread starter Richard Bixler
  • Start date Start date
R

Richard Bixler

Hello,
I am trying to set up a program to extract data from attachments sent to me
indicating sales leads, and have several questions. I've done VB programming
before, but not with Outlook objects.

First, can anyone recommend a good reference for programming Outlook?

Second, if I select (highlight) a message in the Outlook UI browser, is
there a way to directly refer to it like "currentItem" or equivalent? I've
written code to iteratively search through folders for a specifically-titled
message, but if possible would prefer to analyze a humanly-selected message.

Third. The message I select will have a handful of attached Outlook mail
messages attached; and each of these will contain a large number of attached
email messages, each of which contains sales lead information in its body.
Using the selection method above I return a mailItem object whose subject
property matches the one I am seeking, and it contains Attachment objects.
However, I'm not sure how to treat these Attachment objects in order to
extract their attachments and ultimately their body text. Could someone
suggest syntax here?

Thanks in advance for your help. Dick Bixler
 
Back
Top