How to use the Cdosys.dll library to send an e-mail message with attachments by using Visual C# (310212)
The information in this article applies to:
- Microsoft Visual C# 2005
- Microsoft Visual C# .NET (2003)
- Microsoft Visual C# .NET (2002)
- Microsoft Collaboration Data Objects for Windows 2000
- ActiveX Data Objects (ADO) 2.5
- ActiveX Data Objects (ADO) 2.6
- ActiveX Data Objects (ADO) 2.7
- Microsoft Internet Information Services version 6.0
- Microsoft Internet Information Services 5.0
This article was previously published under Q310212 SUMMARY
This article describes how to use the Collaboration Data Objects (CDO) for Windows 2000 library (Cdosys.dll) to send an e-mail message with attachments. You can send text or HTML or a Web page in the body of the e-mail message by using the local SMTP server or by using a smart host server in Microsoft Visual C#.
Note The Cdosys.dll library is also known as CDOSYS.REFERENCES
For more information about Microsoft Office development with Visual Studio, see the following Microsoft Developer Network (MSDN) Web site:
For additional information about how to use CDOSYS, click the following article numbers to view the articles in the Microsoft Knowledge Base:
310221
How to use the Cdosys.dll library to embed a message in a new message by using Visual C# .NET
310224 How to use the Cdosys.dll library to process mail in the Drop directory by using Visual C# .NET
310225 How to use the Cdosys.dll Library to save a message to a file by using Visual C# .NET
Modification Type: | Minor | Last Reviewed: | 10/4/2006 |
---|
Keywords: | kbcode kbhowto KB310212 kbAudDeveloper |
---|
|