>>>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')
lcEmlStr = loMht.GetEML("M:/Advertising/logix.html")
lnSuccess = loEmail.SetFromMimeText(lcEmlStr)
*