Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Display Default Email Application with attachment
Message
De
22/05/2006 17:11:32
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Display Default Email Application with attachment
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01124109
Message ID:
01124109
Vues:
66
Hi,

I need to display the user's default email application and automatically attach a file. I have no prior knowledge of what email application will be used by the user.

I've been trying ShellExecute passing in the command like this:
lcMail = "mailto:someone@somewhere.com" ;
 		+ "&Subject=The file you asked for";
  		+ "&Body=Please find attached the illustration you requested" ;
  		+ "&Attachment=" + m.lcOutputfile
is this the right way?
Frank.

Frank Cazabon
Samaan Systems Ltd.
www.samaansystems.com
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform