Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Font control in text file
Message
From
28/04/2009 14:49:25
 
 
To
28/04/2009 14:28:04
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01396616
Message ID:
01396785
Views:
65
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?)
Previous
Reply
Map
View

Click here to load this message in the networking platform