I am making an application to send mail thru Outlook Express
I want to call Start Outlook Express and set the To Email, Subject, and add
a attachment to the Outlook Express.
After that the outlook express would leave it for the user to enter message
detail and send out manually.

Does anyone know how to do it. ?

Re: How to call Outlook Express from VFP by Mike

Mike
Wed May 11 11:53:29 CDT 2005

There is no way to attach a file with this method.lcMail =
"mailto:john@mycompany.com"+ ;
"?CC= boss@mycompany.com&Subject= Meet for lunch"+ ;
"&Body= Please join me for a sandwich at noon."
ShellExecute(0,"open",lcMail,"","",1)Here is a way to attached a file to
e-mail in Outlook Express (Or your default e-mail program) using
MAPISendDocumentshttp://www.news2news.com/vfp/?example=273"Hughs Man"
<hughs@easystem-hk.com> wrote in message
news:e50BXAeVFHA.1148@tk2msftngp13.phx.gbl...
>I am making an application to send mail thru Outlook Express
> I want to call Start Outlook Express and set the To Email, Subject, and
> add a attachment to the Outlook Express.
> After that the outlook express would leave it for the user to enter
> message detail and send out manually.
>
> Does anyone know how to do it. ?
>



Re: How to call Outlook Express from VFP by Bob

Bob
Wed May 11 21:22:00 CDT 2005

the mailto command
documented here.
http://www.ianr.unl.edu/internet/mailto.html

Can be called from vfp using shellexecute.
A discussion on various techniques are here.

http://www.tedroche.com/Present/2002/emailwooutlook.html

Bob Lee

p..s Blat is my favorite.
avail here
blat.net
Free and works.. (a little tricky, but it works solid)





"Hughs Man" <hughs@easystem-hk.com> wrote in message
news:e50BXAeVFHA.1148@tk2msftngp13.phx.gbl...
>I am making an application to send mail thru Outlook Express
> I want to call Start Outlook Express and set the To Email, Subject, and
> add a attachment to the Outlook Express.
> After that the outlook express would leave it for the user to enter
> message detail and send out manually.
>
> Does anyone know how to do it. ?
>



Re: How to call Outlook Express from VFP by Hughs

Hughs
Thu May 12 02:03:40 CDT 2005

mailto is a method to send mail.
But I can't attach a file with this function.


"Bob Lee" <myspam@my-system.net> ¼¶¼g©ó¶l¥ó·s»D:6-CdnSbNFcZVIB_fRVn-gA@speakeasy.net...
> the mailto command
> documented here.
> http://www.ianr.unl.edu/internet/mailto.html
>
> Can be called from vfp using shellexecute.
> A discussion on various techniques are here.
>
> http://www.tedroche.com/Present/2002/emailwooutlook.html
>
> Bob Lee
>
> p..s Blat is my favorite.
> avail here
> blat.net
> Free and works.. (a little tricky, but it works solid)
>
>
>
>
>
> "Hughs Man" <hughs@easystem-hk.com> wrote in message
> news:e50BXAeVFHA.1148@tk2msftngp13.phx.gbl...
>>I am making an application to send mail thru Outlook Express
>> I want to call Start Outlook Express and set the To Email, Subject, and
>> add a attachment to the Outlook Express.
>> After that the outlook express would leave it for the user to enter
>> message detail and send out manually.
>>
>> Does anyone know how to do it. ?
>>
>
>



Re: How to call Outlook Express from VFP by Hughs

Hughs
Thu May 12 02:06:32 CDT 2005

The function ShellExecute cannot send mail with attachement
And I cannot read the example from http://news2news.com because I have no
account to access it.
Can you find the sample and post it here.


"Mike Gagnon" <mgagnon23@hotmail.com> ¼¶¼g©ó¶l¥ó·s»D:eqBFcpkVFHA.4028@TK2MSFTNGP10.phx.gbl...
> There is no way to attach a file with this method.lcMail =
> "mailto:john@mycompany.com"+ ;
> "?CC= boss@mycompany.com&Subject= Meet for lunch"+ ;
> "&Body= Please join me for a sandwich at noon."
> ShellExecute(0,"open",lcMail,"","",1)Here is a way to attached a file to
> e-mail in Outlook Express (Or your default e-mail program) using
> MAPISendDocumentshttp://www.news2news.com/vfp/?example=273"Hughs Man"
> <hughs@easystem-hk.com> wrote in message
> news:e50BXAeVFHA.1148@tk2msftngp13.phx.gbl...
>>I am making an application to send mail thru Outlook Express
>> I want to call Start Outlook Express and set the To Email, Subject, and
>> add a attachment to the Outlook Express.
>> After that the outlook express would leave it for the user to enter
>> message detail and send out manually.
>>
>> Does anyone know how to do it. ?
>>
>
>



Re: How to call Outlook Express from VFP by Jan

Jan
Thu May 12 03:55:17 CDT 2005

You have to use MAPI interface. Download MAPImail class from
www.nbcsoftware.com, it is free, simple to use and great working.
HTH


Hughs Man napsal(a):
> The function ShellExecute cannot send mail with attachement
> And I cannot read the example from http://news2news.com because I have no
> account to access it.
> Can you find the sample and post it here.
>
>
> "Mike Gagnon" <mgagnon23@hotmail.com> ¼¶¼g©ó¶l¥ó·s»D:eqBFcpkVFHA.4028@TK2MSFTNGP10.phx.gbl...
>
>>There is no way to attach a file with this method.lcMail =
>>"mailto:john@mycompany.com"+ ;
>> "?CC= boss@mycompany.com&Subject= Meet for lunch"+ ;
>> "&Body= Please join me for a sandwich at noon."
>>ShellExecute(0,"open",lcMail,"","",1)Here is a way to attached a file to
>>e-mail in Outlook Express (Or your default e-mail program) using
>>MAPISendDocumentshttp://www.news2news.com/vfp/?example=273"Hughs Man"
>><hughs@easystem-hk.com> wrote in message
>>news:e50BXAeVFHA.1148@tk2msftngp13.phx.gbl...
>>
>>>I am making an application to send mail thru Outlook Express
>>>I want to call Start Outlook Express and set the To Email, Subject, and
>>>add a attachment to the Outlook Express.
>>>After that the outlook express would leave it for the user to enter
>>>message detail and send out manually.
>>>
>>>Does anyone know how to do it. ?
>>>
>>
>>
>
>

Re: How to call Outlook Express from VFP by Mike

Mike
Thu May 12 04:14:17 CDT 2005

> The function ShellExecute cannot send mail with attachement

That is what I said in my post.

> Can you find the sample and post it here.

No, I cannot. But I noticed the example I pointed to cost $5.00 to buy.
Sometimes you have to pay a little to save time.


"Hughs Man" <hughs@easystem-hk.com> wrote in message
news:Oibq6FsVFHA.2644@TK2MSFTNGP10.phx.gbl...
> The function ShellExecute cannot send mail with attachement
> And I cannot read the example from http://news2news.com because I have no
> account to access it.
> Can you find the sample and post it here.
>
>
> "Mike Gagnon" <mgagnon23@hotmail.com>
> ¼¶¼g©ó¶l¥ó·s»D:eqBFcpkVFHA.4028@TK2MSFTNGP10.phx.gbl...
>> There is no way to attach a file with this method.lcMail =
>> "mailto:john@mycompany.com"+ ;
>> "?CC= boss@mycompany.com&Subject= Meet for lunch"+ ;
>> "&Body= Please join me for a sandwich at noon."
>> ShellExecute(0,"open",lcMail,"","",1)Here is a way to attached a file to
>> e-mail in Outlook Express (Or your default e-mail program) using
>> MAPISendDocumentshttp://www.news2news.com/vfp/?example=273"Hughs Man"
>> <hughs@easystem-hk.com> wrote in message
>> news:e50BXAeVFHA.1148@tk2msftngp13.phx.gbl...
>>>I am making an application to send mail thru Outlook Express
>>> I want to call Start Outlook Express and set the To Email, Subject, and
>>> add a attachment to the Outlook Express.
>>> After that the outlook express would leave it for the user to enter
>>> message detail and send out manually.
>>>
>>> Does anyone know how to do it. ?
>>>
>>
>>
>
>