Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Retrieving values from Outlook object
Message
From
28/09/2001 12:24:46
Elyse Pomerantz
Dynamic Data Concepts, Inc.
Brooklyn, New York, United States
 
 
To
28/09/2001 12:14:10
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00561949
Message ID:
00561985
Views:
20
>>I am using Outlook from my VFP6 program to send an email. I default the recipient, etc. and then show the Outlook form for the user to make changes and send the email. When the user sends, I want to retrieve the message text and use it in my VFP program. How can I get the text of the message that the user sent?
>
>If oMessage is your object, the text should be in oMessage.body; if it's a HTML message, then oMessage.HTMLBody. However, I have used this on old messages only (working on archiving into .dbf, Outlook seems to have no track of related messages). These properties exist for a outlook.MailItem object.

This works for passing a message TO the object, but it doesn't seem to work for retrieving the message FROM the object once a user has changed the text of the message. Any other suggestions appreciated.
Elyse Pomerantz
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform