Paul,
Don't know if you are using Outlook and I know MAPI => BAD, SMTP Good, but
if so then the following:

oOutlook=Createobject("Outlook.Application")
  #Define olMailItem                    0
  oMail=oOutlook.CreateItem(olMailItem)
  with oMail
    *
    .To=cSend_To
    .Body=""
    .Subject=mFileName
    .Attachments.Add(mFileName)
                                        
    
    .Save()
    .Send()
endwith
* 

Even though you send, Outlook will not send as it cannot resolve the TO
address.


Dave Crozier
 The secret to staying young is to live honestly, eat slowly, and to lie
about your age 

 

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Paul Newton
Sent: 13 November 2006 12:02
To: ProFox
Subject: Start default mail client with blank message and file attachment

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