Information générale
Catégorie:
COM/DCOM et 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
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement