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:
01647263
Views:
109
>>>>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)
>
>
>*

That doesnt work but I have got auth.smtp another email program to work with the only problem being it opens the attachment on th web rather than locally but I guess that will have to do

Thanks
Specialist in Advertising, Marketing, especially Direct Marketing

I run courses in Business Management and Marketing
Previous
Reply
Map
View

Click here to load this message in the networking platform