Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Font control in text file
Message
De
28/04/2009 14:49:25
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01396616
Message ID:
01396785
Vues:
64
You must tell the email program that you send the text as HTML, something like oMail.contenttype=*text/html'

>would you know how to set this up with any of the current points of entry shown? i have tried different assortment of variations without success.
>
>lcBody = filetostr('c:\sample.txt')
>
>>No, you can't, the shown font depends on the receivers' settings. To control the font, you must transfer the text as HTML, which means that >you must change your program a bit. But since some companies block HTML messages, this is also not a perfect solution.
>
>>>is there a way to control the fonts in a text file and at what point do i introduce the control?
>>> I am generating a text that will comprise the body of an email
>>>
>>>example:
>>>lcBody = filetostr('c:\sample.txt') (can i control it here?)
>>>
>>>the starting point in all this is
>>>set alte to sample.txt (perhaps this is the place to set fonts)
>>>
>>>.MsgNoteText = tcBody (or perhaps here in the email body itself - but how would i do that?)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform