Bug 321376 - SMTP: replace the QwwSmtpClient library with something better
Summary: SMTP: replace the QwwSmtpClient library with something better
Status: RESOLVED UNMAINTAINED
Alias: None
Product: trojita
Classification: Applications
Component: SMTP (other bugs)
Version First Reported In: git
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Karan Luthra
URL:
Keywords:
Depends on:
Blocks: 321393
  Show dependency treegraph
 
Reported: 2013-06-19 12:51 UTC by Jan Kundrát
Modified: 2024-09-23 18:51 UTC (History)
6 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.