Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Convert VFP report to an HTML file
Message
De
15/11/2016 15:34:22
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
01643478
Message ID:
01643526
Vues:
71
>Hi,
>
>I need to add a feature that will email a relatively small report (no more than 2 pages) and I prefer to embed the report into the body section of the email. Therefore, the report has to be converted to HTML file. Are they tools in VFP that would allow this task?
>
>I have an older (a couple of years old) version of XFRX which I use to convert reports to PDF. It could be that XFRX has an option to convert to HTML too (I have to check that).

If it's guaranteed that the recipient can receive and display HTML e-mails then your idea should be fine. However, some recipients have that feature disabled i.e. they receive messages as plain text. That's a security feature to prevent malformed HTML e-mails from attempting to exploit the e-mail client's HTML rendering engine.

If there's a chance the recipient is text-only then a PDF attachment is probably the best way to go.
Regards. Al

"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov

Neither a despot, nor a doormat, be

Every app wants to be a database app when it grows up
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform