Hi, thanks for getting back to me.
I've been using the outlook wizard to export emails to visual foxpro which is OK but I can't overcome the problem of the body of the email being truncated, it needs to go into a Memo field.
Hope this is what you wanted.
Thanks
Nelly
Your problem is caused by a bug in the Outlook Import&Export wizzard.
If you wish to use the wizzard for that task - export the email messages to DBase format - this can be readed by VFP and works fine.
Our own approach is using an Outlook Automation (instantiating Outlook.Application object with the CreateObject command and then using the objects Methods and Properties to get each message Body, Subject, etc.) and the other one is with MAPI ActiveX controls.
See the following:
Downloads # 1034 MAPI Mail Class
Downloads # 1180 Outlook Mail (sequel to MAPI Mail)
both are provided by Nigel Coates (Member ID#017378)
HTH
Zlatin Zlatev,
MCSD (VS6)Make solutions, not programs!