Dave
Tx for the reply - two points
1. I said in my mail that I do not want to send the mail from VFP just
to open the default mail client in compose mode
2. I would like a generic solution (using ShellExec maybe ?) that will
work regardless of what the user's default mail client happens to be
Dave Crozier wrote:
> 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.
>
>
_______________________________________________
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.