Hunny Mail++ Features

Hunny Mail++ is a C++ class library for sending and receiving Internet mail via SMTP, POP3, IMAP4, and NNTP.

For even more functionality, Hunny Mail++ may be used together with Hunny MIME++, a C++ class library for parsing, creating, and modifying messages in MIME format.

Features Summary

  • Standards Compliant - Conforms to RFCs. Tested for interoperability.

  • Portable - Windows, Mac OS X, Linux, Unix, Windows CE. Portable C++ language features. Enterprise servers. Embedded systems. Small devices.

  • Reliable - Thoroughly tested by our engineers. Proven through years of mission-critical deployments by our customers.

  • Thoroughly Documented - Complete reference manual.

  • Helpful Examples - Sending mail. Receiving POP3 mail. Accessing IMAP4 mailboxes. Listing, reading, and posting Usenet articles.

  • Source Code Available - Well-documented and readable source code available. (Source code license required.)

  • Support Contracts Available - Reasonable rates by email experts.

Standards Compliant

Our developers follow Internet standards closely, and we make standards compliance a top priority. Hunny Mail++ offers 100% compliance with the following standards:


  • RFC 1893 Enhanced Mail System Status Codes
  • RFC 2034 SMTP Service Extension for Returning Enhanced Error Codes
  • RFC 1652 SMTP Service Extension for 8bit-MIMEtransport
  • RFC 1869 SMTP Service Extensions
  • RFC 1870 SMTP Service Extension for Message Size Declaration
  • RFC 1891 SMTP Service Extension for Delivery Status Notifications
  • RFC 2554 SMTP Service Extension for Authentication
  • RFC 2821 Simple Mail Transfer Protocol
  • RFC 3030 SMTP Service Extensions for Transmission of Large and Binary MIME Messages


  • RFC 1939 Post Office Protocol - Version 3
  • RFC 1734 POP3 AUTHentication command
  • RFC 2449 POP3 Extension Mechanism
  • RFC 2195 IMAP/POP AUTHorize Extension for Simple Challenge/Response
  • RFC 2595 Using TLS with IMAP, POP3 and ACAP


  • RFC 3501 Internet Message Access Protocol - Version 4rev1
  • RFC 1731 IMAP4 Authentication Mechanisms
  • RFC 2195 IMAP/POP AUTHorize Extension for Simple Challenge/Response
  • RFC 2342 IMAP4 Namespace
  • RFC 2087 IMAP4 QUOTA extension
  • RFC 2595 Using TLS with IMAP, POP3 and ACAP


  • RFC 977 Network News Transfer Protocol
  • RFC 2980 Common NNTP Extensions
  • Internet Draft Network News Transfer Protocol (January 2002)


We chose to use only the most portable C++ features. As a result, the library compiles with almost any C++ compiler system.

We isolated the operating system-dependent system calls into portability functions and classes, making it easier to port the system-dependent portion of the library.

With no modifications, the source code compiles on Microsoft Windows, Microsoft Windows CE, Linux, Mac OS X, and most versions of Unix. Our developers and testers use Microsoft Windows with Visual C++, Linux with GCC, Macintosh with GCC (XCode), and Solaris with Sun C++ and GCC. Some of our customers use the library in embedded systems and small devices, running VxWorks, Windows CE, or other operating systems.


Many of our customers run mission-critical messaging servers 24 hours per day, 7 days per week. Therefore, we take reliability very seriously. We follow established software development practices for bug-free software development: from version control to software testing to good coding practices. We respond to bug reports normally within 24 hours.

Thoroughly Documented

Good documentation is an important requirement for software re-use. The Hunny Mail++ library includes an excellent reference manual, plus well-commented examples. The documentation is available in various formats, suitable for both printing and viewing in a browser. The reference manual is even available online at our web site.

Includes Helpful Examples

Most developers prefer to look at example code to get started quickly. Experienced developers can often achieve their programming goal in one or two days by starting with a relevant code example. Recognizing the importance of good code examples, we include numerous, helpful code examples in Hunny Mail++.

Some of the included examples show how to:

  • SMTP

    • Send a message to one or more recipients
  • POP3

    • Authenticate with the server using USER/PASS
    • Authenticate with the server using APOP
    • Download messages from a POP3 server
  • IMAP4

    • Connect to an IMAP4 server and negotiate a secure connection (TLS)
    • Get summaries of all the messages in a folder
    • Retrieve a complete message
    • Retrieve the text of a message, leaving the attachments on the server
    • Retrieve an attachment from a message
    • Get a list of all the available folders
    • Add messages to a folder
    • Move old messages to an archive folder
  • NNTP

    • Get summaries of all the articles in a newsgroup
    • Retrieve an article from a newsgroup
    • Post an article to a newsgroup
    • Get a list of all the available newsgroups

Source Code Available

Good documentation is important, but readable source code can provide a far more detailed understanding of a software product. With source code available, developers can truly understand how the library works, and thereby make better design decisions. For example, there may be more than one way to accomplish a certain program requirement. When the source code is available, developers can choose the alternative that provides the most efficient operation.

With source code, developers may also customize or adapt the library in ways that are not otherwise possible.

Support Contracts Available

We stand behind our products, offering to customers options for support contracts. Contact our sales team for more information.

Download | Buy | Check Prices