diff options
author | Andreas Baumann <mail@andreasbaumann.cc> | 2015-05-03 08:45:09 +0200 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2015-05-03 08:45:09 +0200 |
commit | 6f7801f0c01b1b62a6b70dd2572d96cc82ff69b7 (patch) | |
tree | d76f4f81e8ab73784a15b89e67664cd29c8f81f4 /3rdParty/libquickmail/quickmail.c | |
parent | 10e1bb55e479e003164cb0e87ed023b455e567b0 (diff) | |
download | aCms-6f7801f0c01b1b62a6b70dd2572d96cc82ff69b7.tar.gz aCms-6f7801f0c01b1b62a6b70dd2572d96cc82ff69b7.tar.bz2 |
updated libquickmail
Diffstat (limited to '3rdParty/libquickmail/quickmail.c')
-rw-r--r-- | 3rdParty/libquickmail/quickmail.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/3rdParty/libquickmail/quickmail.c b/3rdParty/libquickmail/quickmail.c index ab65535..249eeee 100644 --- a/3rdParty/libquickmail/quickmail.c +++ b/3rdParty/libquickmail/quickmail.c @@ -41,7 +41,7 @@ #define LIBQUICKMAIL_VERSION_MAJOR 0 #define LIBQUICKMAIL_VERSION_MINOR 1 -#define LIBQUICKMAIL_VERSION_MICRO 18 +#define LIBQUICKMAIL_VERSION_MICRO 19 #define VERSION_STRINGIZE_(major, minor, micro) #major"."#minor"."#micro #define VERSION_STRINGIZE(major, minor, micro) VERSION_STRINGIZE_(major, minor, micro) @@ -973,8 +973,8 @@ DLL_EXPORT_LIBQUICKMAIL const char* quickmail_send (quickmail mailobj, const cha curl_easy_setopt(curl, CURLOPT_MAIL_RCPT, recipients); //set callback function for getting message body curl_easy_setopt(curl, CURLOPT_READFUNCTION, quickmail_get_data); - curl_easy_setopt(curl, CURLOPT_READDATA, mailobj); - curl_easy_setopt(curl, CURLOPT_UPLOAD, 1L); + curl_easy_setopt(curl, CURLOPT_READDATA, mailobj);
+ curl_easy_setopt(curl, CURLOPT_UPLOAD, 1L); //set CURLOPT_UPLOAD to 1 to not use VRFY and other unneeded commands //enable debugging if requested if (mailobj->debuglog) { curl_easy_setopt(curl, CURLOPT_VERBOSE, 1L); @@ -1059,7 +1059,6 @@ DLL_EXPORT_LIBQUICKMAIL const char* quickmail_send (quickmail mailobj, const cha } base64auth[outpos] = 0; //send originator e-mail address - fprintf( stderr, "AUTH PLAIN %s\n", base64auth ); if ((statuscode = socket_smtp_command(sock, mailobj->debuglog, "AUTH PLAIN %s", base64auth)) >= 400) { errmsg = "SMTP authentication failed"; break; |