Screenshot Preview

HS SMTP C Source Library

by Hillstone Software - Product Type: Component / VC++ Class Library / Source Code

Add client side Simple Mail Transfer Protocol (SMTP) functionality to your C applications. HS SMTP C Source Library is a software library in C (supplied with full source code) which implements the client side of Simple Mail Transfer Protocol (SMTP) over TCP socket layer according to RFC 821. Support for transfer of basic message headers and text is provided. HS SMTP C Source Library supports ESMTP extensions for LOGIN authentication using Base64 encoding and message sending to multiple recipients from address list.

Our regular prices are shown below. Please logon to see your discounted prices.

Price in

HS SMTP C Source Library V2.0.5

Add to Cart $ 404.96 Source Code License, 1 Developer Download (2.9 MB)
Add to Cart $ 769.42 Source Code License, 2 Developers Download (2.9 MB)
Add to Cart $ 1,093.39 Source Code License, 3 Developers Download (2.9 MB)
Add to Cart $ 1,214.88 Source Code License, Company (Unlimited developers within the licensee company) Download (2.9 MB)

Our prices include ComponentSource technical support and, for most downloadable products, an online backup and a FREE upgrade to the new version if it is released within 30 days of your purchase.  All sales are made on our standard Terms and Conditions and subject to our Return Policy. Please contact us if you require any licensing option not listed, including volume licensing and previous versions.

Our regular prices are shown above. Please logon to see your discounted prices.

Screenshot of HS SMTP C Source Library - VC++ Class Library/Source code - V2.0.5

What's new in HS SMTP C Source Library V2.0.5?

  • Two separate code bases one for Windows and one for Linux have been integrated into a single code base that compiles both on Windows and on Linux
  • Fixed an issue with sending file attachments over SSL/TLS. The issue appeared when the SSL engine processing stopped in HsSock library, so no new packets were being sent out. This specific issue has been fixed and HsSock Library has been reworked to improve re-liability and code robustness in both of SSL and non-SSL related areas of the code

HS SMTP C Source Library Features

  • SMTP Client Operation
  • Server name resolution
  • Message Header Transfer
  • Message Text Transfer
  • Asynchonous Operation
  • ESMTP extension for authentication using LOGIN base64 encoding
  • Message sending to multiple recipients from address list
  • Sending binary file attachments using MIME version 1.0 base64 encoding
  • Secure SMTP over TLS / SSL(RFC 3207)
  • SMTP C Source Code can be used on Windows, Linux and Embedded Systems

How It Works
To send a text email message to any address on the internet, the user application calls a single function HsSmtpSendMail, specifying mail server name or IP address, sender address, recipient address, message text buffer and length, subject, cc and an event callback function to use for reporting of operation result and server errors. HS SMTP library then resolves the server name, connects to it and transmits the message according to SMTP RFC 821 protocol. HS SMTP Library incorporates the necessary state machine, transparency procedures, and server response processing required to comply to a simple and robust SMTP client implementation. Modular design makes it easy to port HS SMTP protocol module to any environment. HS SMTP internally at a lower layer interfaces to HS Sock library which provides TCP transport services. User application need not worry about Winsock - HS SMTP does all transmission, reception and event handling over socket layer.

API Summary

  • HsSmtpInit
  • HsSmtpDestroy
  • HsSmtpTick
  • HsSmtpSendMail
  • HsSmtpAbortMail
  • HsSmtpContinue

Product Search

Enter search words: