Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Sending instructions to MS Outlook
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Sending instructions to MS Outlook
Versions des environnements
Visual FoxPro:
VFP 6 SP5
Database:
Visual FoxPro
Divers
Thread ID:
01012145
Message ID:
01012145
Vues:
77
We have the following code in our VFP 6.0 to send an email to MS Outlook in a specific font, size and color.

=====
loEmailItem.HTMLBody = [<html><font face = ]+ Slcrm.cbodyfont+[>];
 + [<font size = ] + lnsize + [> <font color = "="#ff0000">] + This.Parent.EdtNotes.Value;
 + [</font></html>]
=====

We have two problems:
1) If we try to send font size 12 px, the email comes in at 36 px.
i.e. lnsize="12px" or "14px" in our VFP

2) For color we do not know how to convert color from numeric to hex.
The color never matches what we are trying to send out.
Glenn
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform