Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Changing font size in body of email programmatically
Message
From
03/02/2000 14:14:05
 
 
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00326792
Message ID:
00326849
Views:
22
>I'm using Automation to programmatically generate email using Outlook and was wondering a solution to change the font in the body text.
>
>For example:
>...
>lcBody = "This is line 1"+CHR(13)
>lcBody = lcBody + "This is line 2"
>oOutlook.SetBody(lcBody)
>etc...
>
>Well, how can I change the font size for a specific word(s) or whole line? There's got to be an easy solution I don't know.

YOu can only change font size in readers that support HTML mail. I don't know this for sure, because I haven't tried, but Outlook should render it correctly if you just insert the appropriate tags into the message text:

lcBody = "This is line 1"+CHR(13)
Erik Moore
Clientelligence
Previous
Reply
Map
View

Click here to load this message in the networking platform