Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Email/Web Site Nav
Message
De
05/05/1999 20:58:45
 
 
À
05/05/1999 18:20:04
Jim Rieck
Quicken Loans/Rock Financial/Title Sourc
Livonia, Michigan, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00214551
Message ID:
00215582
Vues:
31
>To All,
>
>I came across your message from a couple of days ago on incorporating email into applications. Thanks, it's cool. Just one other question. How would I automatically attach a file and set the subject of the email message? Also, where could I find documentation on the shell.application object?
>
>Any answers would be great, Thanks
>
>Jim Rieck
>
>>>>Can anyone tell me the commands for sending
>>>>an email in VFP through the default email app
>>>>and navigating to a web page from withing VFP?
>>>
>>>To open the default mail editor with message addressed to a specified address:
>>>
>>>oShell = CREATEOBJECT('Shell.Application')
>>>oShell.Open("mailto:esmoore@flash.net")
>>>
>>>To open the default web browser and navigate to a specified page:
>>>
>>>oShell = CREATEOBJECT("Shell.Application")
>>>oShell.Open("http://www.levelextreme.com")
>>>
>>>If you want to create the entire email and send it without user interaction, you can use wwIPStuff, but it does not go through the default mail client, it doens't use a mail client at all: it uses wininet.dll to send the message directly to the mail server using low level windows functions.
>>>
>>>You can also look in the files section here for information about the MSMAPI control, but this control limits you to an MS client.
>>>
>>>For a lot more control over sending e-mail automatically, you should look into the Mabry mail control. I think there is a link from the front page here to download it.
>>
>>Yes this is an updated version of the one I was talking about (22/06/1997). It used the win API which you updated to "Shell.Application".
>>
>>Terry
I belive this just brings up the default Email program and thus allows the end user to put in the attachments & subject. It probably only fills in the To: line automatically. If you want aditional automatic control then Maybury (sp?) is probably more what you are looking for.

Terry
It is impossible to make programs idiot proof. Idiots are too cleaver.

MCP( Tcp/Ip )
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform