Article ID: 209948 - Last Review: March 29, 2007 - Revision: 3.3 How to use Automation to send a Microsoft Outlook message using Access 2000This article was previously published under Q209948 On This PageSUMMARY This article shows you how to use Automation to create and
send a Microsoft Outlook message in Microsoft Access 2000.
Microsoft provides programming examples for illustration only, without warranty either expressed or implied. This includes, but is not limited to, the implied warranties of merchantability or fitness for a particular purpose. This article assumes that you are familiar with the programming language that is being demonstrated and with the tools that are used to create and to debug procedures. Microsoft support engineers can help explain the functionality of a particular procedure, but they will not modify these examples to provide added functionality or construct procedures to meet your specific requirements. NOTE: 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
You can use the SendObject method 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 to sending a Microsoft Outlook mail message by using Automation, as follows:
Sending a Microsoft Outlook Mail Message Programmatically
REFERENCES For more information about using Automation in Microsoft
Access, in the Visual Basic Editor, click Microsoft Visual Basic Help on the
Help menu, type "Automation" in the Office Assistant or the Answer Wizard, and
then click Search to view the topic. 209963
(http://support.microsoft.com/kb/209963/EN-US/
)
ACC2000: How to Use Automation to Add Appointments to Microsoft Outlook
209955
(http://support.microsoft.com/kb/209955/EN-US/
)
ACC2000: How to Use Automation to Create a New Contact Item in Microsoft Outlook
| Article Translations
|
Back to the top
