Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Outlook object
Message
De
30/01/2001 13:09:49
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
00470073
Message ID:
00470199
Vues:
35
Hi Jake,


Can you show me how to put the html message in the HTMLBody property of the message object if I have a html file called test.html

I have the following code:

oOutlook = createobject("outlook.application")

#DEFINE olFolderInBox 6
olookSpace = oOutlook.GetNamespace("MAPI")

if type("oOutLook") # 'O'
messagebox("cannot open microsoft outlook",0,"Machines")
else
oOutLookMail = oOutLook.CreateItem(0)
ldMail = ""

select 0
use (lcmail_address) alias Mail_address

go top

scan
lcMail = alltrim(Mail_address.email) + ";"
ldMail = ldMail + lcMail
endscan

with oOutLookMail
.cc = ldMail
.subject = "test"
.send
endwith
endif
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform