Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Create an email from VFP
Message
De
02/10/2008 08:40:01
 
 
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:
01352237
Vues:
24
Spasibo, Sergey!


>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform