Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Outlook
Message
De
09/10/2000 17:53:31
Gavin Reid
L & M Marketing Pty Ltd
Frenchs Forest, Australie
 
 
À
09/10/2000 13:05:11
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Titre:
Divers
Thread ID:
00426905
Message ID:
00427075
Vues:
23
Hi Edgar,

Use the HTMLBody property. E.g. oNewMail.HTMLBody = "Hi There".

Regards,
Gavin...

>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform