Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Outlook
Message
From
20/05/1999 15:06:19
 
 
To
20/05/1999 14:34:34
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Title:
Miscellaneous
Thread ID:
00221025
Message ID:
00221079
Views:
15
>>I'd like to open an new outlook message fill in the To, Subject, and message body but not send it. How can I do this?
>>
>>TIA
>>
>>/Chris
>
>oOutlook = CREATEOBJECT("Outlook.Application")
>oNameSpace = oOutlook.GetNameSpace("MAPI")
>loMailItem = oOutlook.CreateItem(0)
>WITH loMailItem
>.Subject = "My Subject"
>.To = "John Doe"
>.Body = "My message text"
>.Display
>ENDWITH
>
>Bill

Yes! Thanks Bill!

/Chris
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform