Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Need change to code
Message
 
 
To
05/05/2004 12:37:56
James Fuchs
Kenneth B. Moll & Associates, Ltd.
Chicago, Illinois, United States
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00901244
Message ID:
00902301
Views:
25
Hi James,

If .MSG files are just a message stored in thre original text form that you can use CDO for Windows 2000 to load them and acces it's parts. If you're interested, I've code at work tha does it.

>A fellow at Microsoft was kind enough to give me a bit of code for grabbing Outlook e-mail data from the Inbox, but he is out of the job now. I want to modify it to get the data not from the Outlook Inbox but instead from the message saved in a directory c:\datatemp (as xxx.msg) or from the Windows clipboard (even better).
>
>*~ Get an object reference to the INBOX (GetDefaultfolder(6))
>goNameSpace = goOlk.GetNameSpace( 'MAPI' )
>goInbox = goNameSpace.GetDefaultfolder(6)
>
>*~ loItems is a reference to the ITEMS collection in the INBOX.
>loItems = goInbox.Items
>liItemCount = loItems.Count
>
>How can I modify this so as to do that?
>Thanks!
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform