Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Using HTML output in e-mails
Message
De
13/05/2005 02:31:01
 
 
À
11/05/2005 12:28:07
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Versions des environnements
Visual FoxPro:
VFP 9
Divers
Thread ID:
01012965
Message ID:
01013736
Vues:
20
Hi Brian,
You can add it programatically as well.
Once you extract HTML you can read it with
filetostr() and then set resulting string as body of message.
As you already experienced, result will not always be satisfactory
for varous reasons. Next to alignment, you will also notice pagination problem with reports produced as HTML.
As someone adviced here , best results in distributing reports via email
are achieved with PDF reports attached to email. You can have look at XFRX report converter tool here in downloads as it can produce very nice PDF output.
You can also have look at my CodeRep here in downloads (freeware)
for writing coded OOP reports to HTML,PDF,XLS,TXT formats.
Rgds++
Sergio

>When I first saw the HTML output feature in vfp 9, I thought it would be a great function for sending reports to users. Sending attachments is simple, but I want to be able to embedd the html in the actually message occasionally. However, manually inserting the HTML into Outlook (using insert->file->text from file) offers poor results, and some reports are simply unreadable because the alignment is way off.
>
>Has anyone found a good way to do this? Are there differences in the way Outlook renders HTML vs IE( other than suppressing external links by default)?
>
>Thanks for any help,
>
>Brian Vander Plaats
>Programmer
>Vogel Paint, Inc.
*****************
Srdjan Djordjevic
Limassol, Cyprus

Free Reporting Framework for VFP9 ;
www.Report-Sculptor.Com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform