summaryrefslogtreecommitdiff
path: root/commands/ct.go
diff options
context:
space:
mode:
authorEvan Gates <evan.gates@gmail.com>2022-04-05 08:54:58 -0600
committerRobin Jarry <robin@jarry.cc>2022-04-06 15:37:13 +0200
commit1aa32bf37742770a3243460ca4445256fe4273a7 (patch)
tree4b06ddf5dbf16bf7af3272115bb357ddaf513e55 /commands/ct.go
parent247c6c74380a9e56527ec0a87965a39142ffc213 (diff)
downloadaerc-1aa32bf37742770a3243460ca4445256fe4273a7.zip
compose: parse headers correctly from -H
By using :compose -H <header> a user should be able to add arbitrary headers to an email. The existing implementation from 5b523880b4b4cd2abd9457b4b09c384af33be14b added the headers as lines to the beginning of the body. These lines were not interpreted as headers anywhere and ended up as plain text in the body of the email. Fix the code to parse and add the headers correctly. Signed-off-by: Evan Gates <evan.gates@gmail.com> Tested-by: Moritz Poldrack <moritz@poldrack.dev>
Diffstat (limited to 'commands/ct.go')
0 files changed, 0 insertions, 0 deletions