Fork of the aerc email client (https://sr.ht/~rjarry/aerc)
Find a file
Leszek Cimała e84e402e48 decode(RFC 2047) imap headers to fix encoding in subject & filenames
Me again,
this time fixing encoding of subjects and attachments. It was problem in
IMAP backend. While other backends user MessageInfo() function which
generates MessageInfo decoded via go-message methodes, IMAP worker is
creating MessageInfo directly, so all non-utf8 subjects and filenames
were in raw form.

This patch fixes it. Not sure if we should care about errors (if
DecodeHeader fails it returns raw string back).

>From what I see, this should solve all encoding problem (tested only
IMAP). So, now I can focus on features. ;-)

Have a great weekend!
Leszek
2019-12-07 14:30:33 -05:00
commands use correct headers for message part 2019-12-07 14:30:20 -05:00
config Complete the F rune. 2019-11-17 13:19:20 -05:00
doc Complete the F rune. 2019-11-17 13:19:20 -05:00
filters Strip carriage returns (^M) when filtering emails 2019-08-20 16:05:20 +09:00
lib Initialize an empty message map in the message store on initialization 2019-12-07 14:29:36 -05:00
models Factor IMAP-specific structs out of UI models 2019-07-08 16:06:28 -04:00
templates Correct capitalization in quoted_reply 2019-11-10 13:36:25 -05:00
widgets fix non-utf8 encoding in msgviewer 2019-12-07 14:30:03 -05:00
worker decode(RFC 2047) imap headers to fix encoding in subject & filenames 2019-12-07 14:30:33 -05:00
.build.yml Add .build.yml 2019-07-07 18:51:51 -04:00
.gitignore Subsitute prefix in aerc.conf for install 2019-05-26 10:27:22 -04:00
aerc.go Open mailto links in a new aerc instance if needed. 2019-09-29 12:36:35 -04:00
go.mod Add support for AUTH LOGIN submission 2019-11-01 11:02:01 -04:00
go.sum Add support for AUTH LOGIN submission 2019-11-01 11:02:01 -04:00
LICENSE Add README.md, update license (MIT -2019) 2019-01-13 20:09:07 -05:00
Makefile fix make install directiories permissions 2019-12-07 14:29:57 -05:00
README.md Add notmuch docs 2019-08-08 10:11:20 +09:00

aerc

aerc is an email client for your terminal.

Join the IRC channel: #aerc on irc.freenode.net for end-user support, and #aerc-dev for development.

Building

Install the dependencies:

  • go (>=1.12)
  • scdoc

Then compile aerc:

$ make

aerc optionally supports notmuch. To enable it, you need to have a recent version of notmuch, including the header files (notmuch.h). Then compile aerc with the necessary build tags:

$ GOFLAGS=-tags=notmuch make

Installation

# make install
$ aerc

On its first run, aerc will copy the default config files to ~/.config/aerc and show the account configuration wizard.

If you redirect stdout to a file, logging output will be written to that file:

$ aerc > log

Resources

Send patches and questions to ~sircmpwn/aerc@lists.sr.ht.

Subscribe to release announcements on ~sircmpwn/aerc-announce

Bugs & todo here: ~sircmpwn/aerc2