Select the product you need help with
- Internet Explorer
- Windows Phone
- More products
How to use the CDOSYS Library to send an e-mail message by using the SMTP port in Visual Basic .NET
Article ID: 313775 - View products that this article applies to.
This article was previously published under Q313775
Caution ADO and ADO MD have not been fully tested in a Microsoft .NET Framework environment. They may cause intermittent issues, especially in service-based applications or in multithreaded applications. The techniques that are discussed in this article should only be used as a temporary measure during migration to ADO.NET. You should only use these techniques after you have conducted complete testing to make sure that there are no compatibility issues. Any issues that are caused by using ADO or ADO MD in this manner are unsupported. For more information, see the following article in the Microsoft Knowledge Base:
(http://support.microsoft.com/kb/840667/ )You receive unexpected errors when using ADO and ADO MD in a .NET Framework application
This article describes how to use the Collaboration Data Objects (CDO) for Windows 2000 (CDOSYS) Library to send an e-mail message by using the Simple Mail Transfer Protocol (SMTP) port in Microsoft Visual Basic .NET.
To send an e-mail message by using the SMTP port, follow these steps:
Article ID: 313775 - Last Review: November 29, 2007 - Revision: 3.2