Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
E-mail from foxpro
Message
De
27/11/1998 16:28:31
 
 
À
27/11/1998 16:15:03
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00162017
Message ID:
00162021
Vues:
25
>Does anyone have experience implementing email into a visual foxpro app? Are there any products to assist in this area out there at this time?

There are lots of people integrating email into VFP apps; exactly how is going to depend largely on what you want to do, and what tools you want to use to provide email.

On a generic basis, if an email client is installed on the system, it's easy for VFP to access it via a couple of standard means. If your primary concern is simple creation of email, using MAILTO: in conjunction with ShellExecute() is easy and quick to implement. Both Erik Moore and I have posted simple examples of firing off a message using ShellExecute() and the Shell.Application automation object over the past few weeks; it should be easy enough to find the mesages here on UT.

Microsoft's MAPI provides a standard API interface to MAPI-compatible mailers. Microsoft provides a MAPI automation object, MSMAPI32.OCX which can be accessed from VFP via OLE automation. There are examples of its use in the VFP docs and here on UT.

There are several third-party vendors who provide easier-to-use MAPI interfaces; one in particular that works well with VFP is Mabry.

If you're willing to move away from a generic MAPI client to using a specific email client, you can do significantly more. I've used Outlook pretty extensively to automate both inbound and outbound mail processing; there have been articles recently in some of the FoxPro-oriented programming journals like FoxTalk showing how to use Outlook through OLE automation.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform