Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using Chilkat email software
Message
General information
Forum:
Visual FoxPro
Category:
Third party products
Miscellaneous
Thread ID:
01647252
Message ID:
01647260
Views:
139
>>>Does anyone use Chilkat email software?
>>>
>>>If so how do I code an htm page as body of text?
>>>
>>>Colin
>>
>>Hi Colin,
>>
>>https://www.example-code.com/foxpro/mht.asp
>>
>>Hank
>
>At the moment I am trying
>
>loEmail.GetHtmlBody = "M:/Advertising/logix.html"
>
>This is obviously wrong but what should it be?
>

I have not used chilkat, but from a quick look at their docs, I think it should be something like:
Full example code here:https://www.example-code.com/foxpro/mht_emailHtmlFile.asp
loMht = CreateObject('Chilkat_9_5_0.Mht')
loMht.UseCids = 1
*
loEmail = CreateObject('Chilkat_9_5_0.Email')
*  Create an email from an HTML file.
lcEmlStr = loMht.GetEML("M:/Advertising/logix.html")
lnSuccess = loEmail.SetFromMimeText(lcEmlStr)
*
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform