How to get the raw message?

  • Thread starter José Rui Faustino de Sousa
  • Start date
J

José Rui Faustino de Sousa

Hi!

I am trying to extract messages from Outlook XP.

Is there a way to get the *raw* message or at least an unalterated body?

I am using CDO to get the message headers
(CdoPR_TRANSPORT_MESSAGE_HEADERS) They seem to be unadulterated but
frankly I do not trust it...

Now how does one get the body of the message?

Using Outlook's Object Model MailItem BodyFormat property does no
produce reliable results or at least it only seems to work after the
message is opened (and I do not want that)

Trying to read Body or HTMLBody does conversions behind your back using
CDO's CdoPR_BODY also goes on modifying the body of the message as does
MAPI's Message class Text property.

Argh! I do not know what else to try.

Does anyone know how to get the damm *raw* message?

Or at least something like right-click on the open message "View
Source"?

Best regards
José Rui


--
========================================================================
"If I had to choose a religion, the sun as the universal giver of life
would be my god". Napoleon Bonapart
========================================================================
mailto://[email protected]/ Crawler baith. UnCaps me to reply.
Contact information: http://homepage.esoterica.pt/~jrfsousa/contact.html
========================================================================
 

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.

Ask a Question

Top