S
Steven Marzuola (remove wax and invalid for reply)
(Using Outlook 2000)
I use a VBA routine for Outlook that writes a summary of each mail item
in the current folder to a text file. It works okay, here are a few of
the lines that make it go:
Dim thisFolder As MAPIFolder
Dim Item As Object
...
Set thisFolder = Application.ActiveExplorer.CurrentFolder
For Each Item In thisFolder.Items
...
Print #2, "From:", Item.SenderName
Print #2, "To:", Item.To
Print #2, "Cc:", Item.CC
Print #2, "Sent:", Item.SentOn
Print #2, "Subject:", Item.Subject
...
Now I want to do something different. I'm trying to analyze a folder
full of spam emails, and extract the Received lines (to see where each
one comes from). These can be viewed in Outlook only by viewing the
"Internet Headers". However, I cannot find a Property or Method for my
"Item", that will get me access to the Received lines, or any other
information in the full headers.
Any ideas?
I use a VBA routine for Outlook that writes a summary of each mail item
in the current folder to a text file. It works okay, here are a few of
the lines that make it go:
Dim thisFolder As MAPIFolder
Dim Item As Object
...
Set thisFolder = Application.ActiveExplorer.CurrentFolder
For Each Item In thisFolder.Items
...
Print #2, "From:", Item.SenderName
Print #2, "To:", Item.To
Print #2, "Cc:", Item.CC
Print #2, "Sent:", Item.SentOn
Print #2, "Subject:", Item.Subject
...
Now I want to do something different. I'm trying to analyze a folder
full of spam emails, and extract the Received lines (to see where each
one comes from). These can be viewed in Outlook only by viewing the
"Internet Headers". However, I cannot find a Property or Method for my
"Item", that will get me access to the Received lines, or any other
information in the full headers.
Any ideas?