Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Sending HTML mail messages
Message
From
13/10/2003 07:11:43
 
 
To
13/10/2003 06:58:06
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00838026
Message ID:
00838029
Views:
17
Hi Fernando,

perhaps you should set
oMailItem.BodyFormat = 2 && olFormatHTML
HTH

>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
robert.oh.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform