Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Mail by ShellExecute
Message
 
 
To
25/02/2005 04:02:58
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 8 SP1
Miscellaneous
Thread ID:
00990436
Message ID:
00990467
Views:
19
This message has been marked as the solution to the initial question of the thread.
Jos,

Look at the article on my website, Q&A, General, qGEN017. You basically have to URLEncode the CR & LFs to %0d and %0a respectively.

>I am creating an email via VFP in the user's default mail program by using ShellExecute(0,"", "mailto:" ... ). However, when I try to add line breaks using CR+LF to the body text they seem to be stripped out and the body text just becomes a single block of text. Can CRLF not be used in the body via this technique or is there some special way of inserting lines breaks in the body text?
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform