>Someone has given me an Outlook PST file. It contains hundreds of emails and many have attachments. How can I extract each email, the senders email address, and the attachments and save it to a disk file for each and every email.
You've probably already figured this out, but you can open the .PST in Outlook as a secondary Personal Folders file: File...Open...Outlook Data File. You can then, within Outlook, do whatever you want with its contents.
You can do all of the above via COM automation. You're probably looking for specific code/info on how to do that; sorry, I don't know.
Regards. Al
"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov
Neither a despot, nor a doormat, be
Every app wants to be a database app when it grows up