>Is there a way to extract information from email messages in an Outlook .pst file or an Outlook express mail file using VFP6?
>
>I would like to be able to extract the from: and subject: fields, and parse the message body for key words or phrases.
>
>I'm still fairly new to VFP, so any methods would be appreciated.
>Thanks for any suggestions.
>
>Neil Preston
My class in the files section here (MAPIMail) can extract messages from the Inbox of all versions of Outlook. You just call the ReadMail method and then the GetFirstMessage and GetNextMessage methods. Then just call the GetSender and GetSubject methods for each message.