libquickmail Icon


C library for sending e-mail (with attachments) from C/C++

3.5 Stars (6)
17 Downloads (This Week)
Last Update:
Download libquickmail-0.1.25.tar.xz
Browse All Files
Windows BSD Linux



C library intended to give C/C++ developers a quick and easy way to send e-mail from their applications. Supports multiple To/Cc/Bcc recipients and multiple attachments without size limitation. For the actual SMTP communication either libcurl can be used or the built in SMTP support. The library can also be used to just create a multipart MIME message body.
Also comes with a command line application for sending mails (with optional attachments).

libquickmail Web Site


Other Useful Business Software

Get your Apps to customers 5x faster with RAD Studio. Icon

The easiest and most powerful cross platform development tool available on the market. Start today a 30-Day trial (no credit card needed).

Get your Apps to customers 5x faster with RAD Studio. Icon
RAD StudioTM: Build cross-platform apps ridiculously FAST! Delivering fast and powerful native applications for Windows, Linux, macOS, iOS, Android, cloud and IoT. Rapidly design, build, and run applications optimized for native performance, from a single code base across all platforms. With RAD Studio 10.2 you can securely connect and embed any data, on any tier, in the Enterprise, or cloud.

User Ratings

ease 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 4 / 5
features 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 3 / 5
design 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 3 / 5
support 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 4 / 5
Write a Review

User Reviews

  • 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5

    I wanted a simple email client library to incorporate into a program I am writing under cygwin (for later transfer to a raspberry PI). libquickmail was an obvious choice, because I was already using libcurl. My first problem was persuading libcurl to recognize that SSL was available. Solution: install openssl-devel and then reconfigure and remake libcurl. The second problem was that I could not establish a connection (or rather it kept failing) to googlemail using SSL on port 465. After some debugging, I noticed that in quickmail.c (Line 924), that libquickmail was using smtp: (hard coded) as the protocol. I changed this to smtps: And wonderfully (!) my small test program worked and send my test email, which I was then able to read. I would recommend adding an option to the library to specify that smtps can be used as the protocol. In Germany now, most email accounts MUST use SSL. I would like to add a further remark that might help other users. I am using libquickmail together with libcurl, as I want to load files from an FTP server, process the files and then send an email depending on the result of the processing. If I use libcurl version 7.38.0 (the latest package version available in the Raspberry Pi), my program blocks somewhere (probably in libcurl) when sending an email. If I use a later version (in my case libcurl 7.47.0), I can send emails without problem. Surprisingly, the fix for libcurl version 7.38.0 was to add an attachment to the email. With the attachment (any old file), libquickmail also sent emails with libcurl version 7.38.0. I will therefore inslall libcurl 7.47.0 (or a later version) directly on the Raspberry Pi, rather that using apt-get to install the out-of-date version of libcurl. David Singleton

    Posted 02/26/2016
  • 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5

    I compiled test_quickmail.c, but some errors were occurred as shown below: $ gcc -o test_quickmail test_quickmail.c /tmp/cc2kRB77.o: In function `main': test_quickmail.c:(.text+0x68): undefined reference to `quickmail_get_version' test_quickmail.c:(.text+0x7c): undefined reference to `quickmail_initialize' test_quickmail.c:(.text+0x88): undefined reference to `quickmail_create' test_quickmail.c:(.text+0x98): undefined reference to `quickmail_add_to' test_quickmail.c:(.text+0xa4): undefined reference to `quickmail_add_header' test_quickmail.c:(.text+0xb0): undefined reference to `quickmail_add_header' test_quickmail.c:(.text+0xbc): undefined reference to `quickmail_add_header' test_quickmail.c:(.text+0xc8): undefined reference to `quickmail_set_body' test_quickmail.c:(.text+0xe4): undefined reference to `quickmail_add_body_memory' test_quickmail.c:(.text+0xf4): undefined reference to `quickmail_add_attachment_file' test_quickmail.c:(.text+0x104): undefined reference to `quickmail_add_attachment_file' test_quickmail.c:(.text+0x128): undefined reference to `quickmail_add_attachment_memory' test_quickmail.c:(.text+0x13c): undefined reference to `quickmail_set_debug_log' test_quickmail.c:(.text+0x158): undefined reference to `quickmail_send' test_quickmail.c:(.text+0x190): undefined reference to `quickmail_destroy' collect2: ld returned 1 exit status ==>what's wrong with me? How do I solve this problem? thanks!

    Posted 06/23/2015
  • 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5

    I'm not able to install libquickmail under Windows 7. I want to use it with MinGW. Where I can see a package good for my environment?

    Posted 11/30/2013
  • 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5

    It works, but only some error checking, especially failing malloc() will crash the program.

    Posted 10/01/2013
  • 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5

    Thanks for good program!

    Posted 05/25/2013
Read more reviews

Additional Project Details

Intended Audience

Information Technology, Developers

User Interface


Programming Language




Thanks for helping keep SourceForge clean.

Screenshot instructions:
Red Hat Linux   Ubuntu

Click URL instructions:
Right-click on ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)

More information about our ad policies

Briefly describe the problem (required):

Upload screenshot of ad (required):
Select a file, or drag & drop file here.

Please provide the ad click URL, if possible:

Get latest updates about Open Source Projects, Conferences and News.

No, thanks