Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Formatting Emails
Message
 
To
21/07/2000 11:21:40
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00395439
Message ID:
00395462
Views:
9
You probably need the CR/LF pair, try ff="One"+Chr(13)+Chr(13)+Chr(10)+"Two"+Chr(13)+Chr(10).

Personally, I'd say #DEFINE CRLF Chr(13)+Chr(10) and use that instead for readability.

>Here is sample code that doesn't work with outlook..
>fff="One"+chr(13)+chr(13)+"Two"+chr(13)
>o=createobject("outlook.application")
>oitem=o.createitem(0)
>oitem.recipients.add("email address")
>oitem.subject="Sample"
>oitem.htmlbody=fff
>oitem.send
>oitem=null
>o=null
>
>The text in the body is one line.. When I copy and paste the text into notepad, the formatting is there, but not in outlook..
>
>Any Ideas
>Rob
Nigel B Coates
NBC Software Services
Dublin, Ireland.
eMail: Nigel.Coates@NBCSoftware.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform