How To Use OLE Messaging to Send Mail in Visual FoxPro App
This article was previously published under Q146641 On This PageSUMMARY
This article shows by example how you can use OLE Messaging as an
alternative to using a MAPI Session and MAPI Messages .ocx controls to send
mail. This functionality relies on MAPI OLE Automation support at the
operating system level but doesn't require that an .ocx file be added to a
form. The MAPI .ocx files currently available use Simple MAPI as opposed to
MAPI 1.0, so they are superseded by this.
MORE INFORMATION
The OLE Messaging Library is installed with the MAPI Software Development
Kit (SDK). When the OLE Messaging Library is available, the following flag
is set in the Win.ini file:
And it can be found in the registry. Under Windows 95 and Windows NT 4.0
you will find it in:
HKEY_Local_Machine\SOFTWARE\Microsoft\Windows Messaging Subsystem. Sample Code Showing How to Get This to WorkREFERENCES
For more details on OLE Messaging, please see the January Microsoft
Developers Network (MSDN) CD-ROM compact disc. The Topic is located under
the Win32 SDK, Win32 Messaging, and OLE Messaging Library topics.
For additional information, please see the following article in the Microsoft Knowledge Base: 175052 (http://support.microsoft.com/kb/175052/EN-US/) How To Send a Message in VFP Using Active Messaging
APPLIES TO
| Article Translations
|

Back to the top
