You've to URLENCODE() the body and/or subject if they include characters that are nor allowed in an URL. For new line characters you can use STRTRAN(). For more generic solution see
How to escape a string for html in VFP8 Message #
774940 "&Body=" + STRTRAN(tcBody, CHR(13)+CHR(10), "%0d%0a")
>I looking for way to create and display email.
>Currently I try to use way
>
>Local lcMail
>lcMail = "mailto:"+Alltrim(tcEmail) +;
> "&Subject=Bestellung" +;
> "&Body="+tcBody
>
>= ShellExecute(0, "open", lcMail, "", "", SW_SHOWNORMAL)
>
>
>The problem is - I can't use MULTILINE body (using CHR(13)+CHR(10)) - all text written in one line without carriage return.
>
>Any ideas?
>
>Thanks
>Denis
--sb--