On 07/16/12 10:37, Thomas Lübking wrote:
If I seriously want to use trojitá as main mail client my demands and
thus priority list is:
- sending mails

You'll be happy to see that support for building messages with attachments which landed in master last night. I hope I'll have it ready today.

As for mail seding i can probably borrow code from my msmtp frontend.

I'll appreciate if you can wait a bit about this thing -- the ComposeWidget has been refactored (not the GUI, but the actual MIME building blocks) and I'm not finished yet (should be done today).

When support for attachments is ready, I'll make it speak CATENATE when saving messages on the IMAP server. The (E)SMTP backend is currently *very* broken, the QwwSmtpClient has worked good enough over the years, but still leaves much to be desired. I was pondering replacing it by code shamelessly stolen from Qt's Messaging Framework [1], but never really started working on that.

The improvements I'd like to see are:

- handling errors correctly (current situation is a joke)
- being able to utilize BURL & URLAUTH (which will more or less have to wait till I finish CATENATE to be useful)

I've taken a brief look at msmtp and it appears to be mostly a `sendmail`-compatible binary. Trojita should already support this mode of operation (just let it call `sendmail -bm` IIRC in IMAP -> Settings -> SMTP instead of connecting over network) -- that should work well enough. Or are you having any issues with that?

So I understand that you aren't exactly willing to hack on an SMTP client, right?

Afaics trojitá has no addressbook  (thus receiver completion) support?

There's some crude support for storing addresses in QSettings which Thomas Gahr contributed many months ago -- it's enough for autocompletion.

I relied on the abook (which is more or less default on bsd and uses an
ini style config (ie. can be parsed with default QSettings)
There's an original cli tool and i've also written (but not released) a
Qt addressbook for the format.
A not very recent computer can easily read and parse my > 200 contacts
(out of I/O cache, oc) in ~2ms

I suspect there are going to be many different existing address book implementations, so I guess it'd be best to have a pluggable/configurable backend for good platform integration. That said, I haven't investigated any existing solutions, so I don't have a preference.

If you think that it's a good idea to plug to $whatever, please go ahead.

Cheers,
Jan

[1] http://qt.gitorious.org/qt-labs/messagingframework/blobs/master/src/plugins/messageservices/smtp/smtpclient.cpp
--
Trojita, a fast e-mail client -- http://trojita.flaska.net/


Reply via email to