L
Leon Mayne
Hi all,
I'm trying to get the message headers and body from an email. I am able to
get the message body using:
Set oOL = CreateObject("Outlook.Application")
For x = 1 To oOL.ActiveExplorer.Selection.Count
msgBody = oOL.ActiveExplorer.Selection.Item(x).Body
Next
Which works fine, but I can't seem to find a way to get the headers in the
same fashion (from within the loop above).
Can anyone help?
I'm trying to get the message headers and body from an email. I am able to
get the message body using:
Set oOL = CreateObject("Outlook.Application")
For x = 1 To oOL.ActiveExplorer.Selection.Count
msgBody = oOL.ActiveExplorer.Selection.Item(x).Body
Next
Which works fine, but I can't seem to find a way to get the headers in the
same fashion (from within the loop above).
Can anyone help?