Bug 321376

Summary: SMTP: replace the QwwSmtpClient library with something better
Product: [Applications] trojita Reporter: Jan Kundrát <jkt>
Component: SMTPAssignee: Karan Luthra <karanluthra06>
Status: RESOLVED UNMAINTAINED    
Severity: normal CC: espen, karanluthra06, kde, pali.rohar, rainer, trojita-bugs
Priority: NOR    
Version First Reported In: git   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Bug Depends on:    
Bug Blocks: 321393    

Description Jan Kundrát 2013-06-19 12:51:33 UTC
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.
Comment 1 Pali Rohár 2013-07-19 09:30:36 UTC
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
Comment 2 Jan Kundrát 2013-08-18 14:47:32 UTC
I don't think this will help much -- it's a C code which is using very different idioms from a Qt coding style.
Comment 3 Pali Rohár 2013-08-31 07:31:34 UTC
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.
Comment 4 Jan Kundrát 2014-06-19 22:52:05 UTC
Adding the group alias to the Cc list again. Karan, please make sure that you do not replace this.
Comment 5 Christoph Cullmann 2024-09-23 18:51:14 UTC
Trojitá is no longer maintained, please switch to a maintained alternative like https://apps.kde.org/kmail2/

Sorry for the inconveniences.