The existing code is riddled with bugs and lack of features: - doesn't support LOGIN, only AUTH=PLAIN - no support for interactive password prompts - it's rather fragile and the only thing holding it together are many layers of duck tape It shall be replaced by something better which also supports the ESMTP protocol properly and uses Trojita's existing Streams layer.
What about to use smtp code from msmtp project? It supports: * TLS/SSL support, including client certificates * Authentication methods PLAIN, LOGIN, CRAM-MD5, EXTERNAL, GSSAPI, SCRAM-SHA-1, DIGEST-MD5, and NTLM * Password callback function when password is needed http://msmtp.sourceforge.net/ http://sourceforge.net/p/msmtp/code/ci/master/tree/src/smtp.h http://sourceforge.net/p/msmtp/code/ci/master/tree/src/smtp.c
I don't think this will help much -- it's a C code which is using very different idioms from a Qt coding style.
Yes, but support more authentification methods plus working. I tried to find some better (qt/c++) smtp library, but this is only one which I found.
Adding the group alias to the Cc list again. Karan, please make sure that you do not replace this.
Trojitá is no longer maintained, please switch to a maintained alternative like https://apps.kde.org/kmail2/ Sorry for the inconveniences.