Jarkko Sakkinen

Results 48 comments of Jarkko Sakkinen

For reference, this is how it works in Evolution: https://www.dropbox.com/s/r151wkp33y7480w/Screenshot%20from%202022-03-21%2006-19-42.png?dl=0

@soywod I've kind of started working on this, so here's what I've planned. Git has chosen the approach of having a single option: ``` [sendemail] smtpserver = /usr/bin/msmtp ``` On...

I can prepare a PR but need to know first the preferable semantics for the user interface :-)

> > @soywod I've kind of started working on this > > First of all, thanks for considering helping the project! I invite you to read the [contributing guide](https://github.com/soywod/himalaya/blob/master/CONTRIBUTING.md). I...

I was thinking something along the lines of this. SMTP: ```toml sender-type = "smtp" # default ``` Sendmail: ```toml sender-type = "sendmail" sendmail-command = "/usr/bin/msmtp" ``` The 2nd is any...

The layout you proposed makes sense but I would add just sendmail type for now. It has worked for Git, mutt and Evolution for years and people use msmtp, mailx,...

Maximizing compatibility should happen on-need basis but it is of course important to make design that allows to do it on need :-)

Thanks, from that example I anyway fully understood how and why you would prefer adjacently-tagged enum :-) Makes a lot of sense.

PS. Friendly suggestion: use snap and/or FlatPak for packaging. Would be a better fit for this project than deb because of a proprietary dependency.