Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Mail with shellexecute from vfp???
Message
 
À
12/12/2008 18:15:58
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
01367124
Message ID:
01367154
Vues:
14
>Hi, I use shellexecute to send emails from VFP, but the problem is that I need to include the signature.
>
>I use this code:
>
>ShellExec("mailto:"+lcEmail+"?Subject="+lcSubject+ "?Body="+lcBody)
>
>Something extrane is if I use ?Body, This symbol "?", The email have the signature, but the body is in the subject.
>
>If I use &Body with this symbol "&" all it's in order, email,subject,body, but is not include the signature.
>
>I need to put all in order:
>
>email,cc,subject,body with the signature.
>
>Sorry my English, and thanks any help, if someone know how to do this without shellexecute but works, fine.
>
>thanks to all...

If you include both & and ?, It does what you want:
ShellExec("mailto:"+lcEmail+"?Subject="+lcSubject+ "&?Body="+lcBody)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform