Paul
I use shellExecute
I declare this in my mainprograme
DECLARE INTEGER ShellExecute IN shell32.dll ;
   INTEGER hndWin, ;
   STRING cAction, ;
   STRING cFileName, ;
   STRING cParams, ;
   STRING cDir, ;
   INTEGER nShowWin

Then on a button
cAction='Open'
cFileName = 'mailto:'+'' ;
        + '?Subject=' +''  ;
        + '&Body='+''

ShellExecute(0,cAction,cFileName,"","",1)

there is more help here
http://www.ianr.unl.edu/internet/mailto.html

I do not believe you can add an attachment.



Andrew Stirling
01250 874580
http://www.calcpay.co.uk
HMRC Accredited UK payroll program

Paul Newton wrote:
> Hi all
> 
> I need to start (from VFP) a user's default mail client in "compose" 
> mode - it should start with recipient and subject blank but with an 
> attachment already attached (from VFP).
> 
> What's the best way to do this ?  I do not need to actually send the 
> mail from VFP - the user actually wants to use his own mail client and 
> fill in the rest of the details (recipient, subject, message text) from 
> the mail client.
> 
> Tx
> 
> 
> 
> 
> 
[excessive quoting removed by server]

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to