Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Using Chilkat email software
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Produits tierce partie
Divers
Thread ID:
01647252
Message ID:
01647260
Vues:
142
>>>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)
*
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform