Simple Mail Transfer Protocol Class Library  
 

Submit e-mail messages for delivery to one or more recipients.

Reference

Library Information

Class Name CSmtpClient
File Name CSMTPAV7.DLL
Version 7.2.7210.1845
LibID 17102383-1DAE-498D-89C0-767BF122EFE7
Import Library CSMTPAV7.LIB
Dependencies None
Standards RFC 821, RFC 1425, RFC 1869, RFC 2821

Overview

The Simple Mail Transfer Protocol (SMTP) enables applications to deliver e-mail messages to one or more recipients. The class library provides an interface for addressing and delivering messages, and extended features such as user authentication and delivery status notification. Unlike Microsoft's Messaging API (MAPI) or Collaboration Data Objects (CDO), there is no requirement to have certain third-party e-mail applications installed or specific types of servers installed on the local system. The CSmtpClient class can be used to deliver mail through a wide variety of systems, from standard UNIX based mail servers to Windows systems running Microsoft Exchange.

Using this class library, messages can be delivered directly to the recipient, or they can be routed through a relay server, such as an Internet service provider's mail system. The SocketTools CMailMessage class can be integrated with this class in order to provide an extremely simple, yet flexible interface for composing and delivering messages.

This class library supports secure connections using the standard SSL and TLS protocols. Both implicit and explicit SSL connections are supported, as well as client certificates used for authentication.

Requirements

The SocketTools Library Edition libraries are compatible with any programming language that supports calling functions exported from a standard dynamic link library (DLL). If you are using Visual C++ 6.0 it is required that you have Service Pack 6 (SP6) installed. It is recommended that you install all updates for your development tools and have the current Windows SDK installed.

This library is supported on Windows XP, Windows Server 2003, Windows Vista, Windows 7 and Windows Server 2008. If you are using Windows XP, it is required that you have Service Pack 3 (SP3) installed. It is recommended that all service packs and critical updates to the Windows operating system be installed.

This product includes both 32-bit and 64-bit libraries. Native 64-bit CPU support requires the latest 64-bit version of Windows XP Professional, Windows Server 2003 or later versions of the Windows operating system.

Distribution

When you distribute your application that uses this library, it is recommended that you install the file in the same folder as your application executable. If you install the library into a shared location on the system, it is important that you distribute the correct version for the target platform and it should be registered as a shared DLL. This is a standard Windows dynamic link library, not an ActiveX component, and does not require COM registration.