libquickmail Icon

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

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
  • 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5

    thank you libquickmail

    Posted 09/26/2012

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, Thank you