Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Sending HTML mail messages
Message
De
13/10/2003 06:58:06
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Titre:
Sending HTML mail messages
Divers
Thread ID:
00838026
Message ID:
00838026
Vues:
60
Hi,

I got this sample code from message #611182:
oOutlookApp = createobject('outlook.application')
oMailItem = oOutlookApp.createitem(0)

with oMailItem
	.HTMLBody = "Here comes the HTML code"
	.subject = "Here comes the subject"
	.to = "myemail@myorg.com.br"
	.send()
endwith
When I try to run it I get an "OLE error code 0x80020006: unknown name" error in the line containing the ".HTMLBody = "Here comes the HTML code"". If I comment that line it works ok.

What am I missing?

TIA

Fernando
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform