Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Outlook object
Message
From
30/01/2001 13:09:49
 
 
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00470073
Message ID:
00470199
Views:
37
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform