Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Display Default Email Application with attachment
Message
From
22/05/2006 17:11:32
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Display Default Email Application with attachment
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01124109
Message ID:
01124109
Views:
68
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
Next
Reply
Map
View

Click here to load this message in the networking platform