Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Outlook
Message
From
09/10/2000 13:05:11
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
Outlook
Miscellaneous
Thread ID:
00426905
Message ID:
00426905
Views:
50
First I want to thank John Koziol for the article in the VFUG October 2000 Newsletter.

Now, in addition to what he said there I want to attach a document into the “message body” , that is, I want to read my cursor, put it in a document format, say HTML,.txt or .doc, and paste it into it.
What’s the best way to do this?
Here is how I call an instance of Outlook:

#DEFINE olFolderOutbox 4
oOutlook=CREATEOBJECT("Outlook.Application")
oNameSpace=oOutlook.GetNameSpace("MAPI")
oMyOutbox=oNameSpace.GetDefaultFolder(olFolderOutbox)
oNewMail=oMyOutbox.Items.Add
oNewMail.Subject="Test this mail"
oNewMail.Display

thanks in advance
Next
Reply
Map
View

Click here to load this message in the networking platform