Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Function from another language
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
Divers
Thread ID:
01337842
Message ID:
01337891
Vues:
11
Thanks Jim

I reduced the function
Now it works fine and I dont need to use charset property

I got the decoded value directly with: "cFinalProduct = oStream.ReadText"


*************************

lcHtml = FILETOSTR( SYS(5)+ CURDIR()+ emails.msgtx_path)

oMsg = NEWOBJECT("CDO.Message")
oMsg.BodyPart.ContentTransferEncoding = "quoted-printable"

oStream = oMsg.BodyPart.GetEncodedContentStream
oStream.Writetext = lcHtml
oStream.Flush
oStream = oMsg.BodyPart.GetDecodedContentStream()
cFinalProduct = oStream.ReadText

*************************************
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform