General information
Category:
COM/DCOM and OLE Automation
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only