Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
I need a good email system to work with DBFs
Message
De
26/07/2017 07:01:59
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Produits tierce partie
Divers
Thread ID:
01652691
Message ID:
01652850
Vues:
116
J'aime (2)
>For a long time I have been using Chilkat to send body of text messages to addresses on dbfs
>
>Now I realise its not a very good product for this purpose
>
>Can anyone suggest anything better
>
>Colin

For the records, Colin and I have solved this problem.

We already had the message formatted as a html string in the variable lcBody. The original code set a property with the command "loEmail.body=lcbody", Since this only produced an email sent as text, the message showed badly, as plain text with all the html tags visible. Most email programs I have worked with earlier has a property to tell the program that the string is html, and not text. A Google search made it clear that Chilkat doesn't have such a property. Instead it has a function for a similar purpose.

So the solution was to comment out the line "loEmail.body=lcbody" and add the line "loEmail.SetHtmlBody(lcBody)".
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform