How to send mail from Visual Basic using CDO 1.x Library (161833)
The information in this article applies to:
- Collaboration Data Objects (CDO) 1.21
- Collaboration Data Objects (CDO) 1.1
- Collaboration Data Objects (CDO) 1.2
- Microsoft Visual Basic Professional Edition for Windows 5.0
- Microsoft Visual Basic Professional Edition for Windows 6.0
- Microsoft Visual Basic Enterprise Edition for Windows 5.0
- Microsoft Visual Basic Enterprise Edition for Windows 6.0
This article was previously published under Q161833 INTRODUCTION
This article describes how to programmatically send an e-mail message from Visual Basic by using the Collaboration Data Objects (CDO 1. x) Libraries. This example assumes that the CDO 1. x was correctly installed on your computer.
For more information, click the following article number to view the article in the Microsoft Knowledge Base:
171440
Where to acquire the CDO Libraries (all versions)
The sample code can also be used from Visual Basic for Applications (VBA), which allows Access, Excel, or Project to send e-mail messages through the CDO 1. x Library.
Modification Type: | Minor | Last Reviewed: | 10/1/2005 |
---|
Keywords: | kbhowto kbProgramming KB161833 |
---|
|