Article ID: 161088 - Last Review: January 19, 2007 - Revision: 3.3 Using Automation to Send a Microsoft Outlook MessageThis article was previously published under Q161088 Advanced: Requires expert coding, interoperability, and multiuser skills.
SUMMARY
This article shows you how to use Automation to create and send a Microsoft
Outlook message in Microsoft Access 97.
This article assumes that you are familiar with Visual Basic for Applications and with creating Microsoft Access applications using the programming tools provided with Microsoft Access. For more information about Visual Basic for Applications, please refer to the "Building Applications with Microsoft Access 97" manual. For more information about using Automation to send a Microsoft Exchange message, please see the following article in the Microsoft Knowledge Base: 153311
(http://support.microsoft.com/kb/153311/EN-US/
)
Using Automation to Send a Microsoft Exchange Message
MORE INFORMATIONNOTE: The following code may not work properly if you have
installed the Outlook E-mail Security Update.
For additional information about this update, please see
one of the following articles in the Microsoft Knowledge
Base, depending on which version of Outlook you have:
262631
(http://support.microsoft.com/kb/262631/EN-US/
)
OL2000: Information About the Outlook E-mail Security Update
262617
(http://support.microsoft.com/kb/262617/EN-US/
)
OL98: Information About the Outlook E-mail Security Update
The SendObject method provides a way to send a MAPI mail message
programmatically in Microsoft Access. However, the SendObject method does
not give you access to complete mail functionality, such as the ability to
attach an external file or set message importance. The example that follows
uses Automation to create and send a mail message that you can use to take
advantage of many features in Microsoft Outlook that are not available with
the SendObject method.
There are six main steps when you use Automation to send a Microsoft Outlook mail message:
REFERENCES
For more information about using Automation in Microsoft Access, search
the Help Index for Automation, or ask the Microsoft Access 97 Office
Assistant.
For more information about using Automation to control Microsoft Outlook, please see the following articles in the Microsoft Knowledge Base: | Article Translations
|

Back to the top
