Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Create an email from VFP
Message
 
 
À
24/09/2008 03:25:23
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 8
OS:
Windows XP SP2
Network:
Windows 2008 Server
Database:
MS SQL Server
Divers
Thread ID:
01350117
Message ID:
01350128
Vues:
52
This message has been marked as the solution to the initial question of the thread.
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--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform