diff options
author | Karel Balej <balejk@matfyz.cz> | 2024-01-30 20:11:26 +0100 |
---|---|---|
committer | Robin Jarry <robin@jarry.cc> | 2024-02-12 22:56:16 +0100 |
commit | 324e620c5a62fee07970c436f792c7383a3fb1e5 (patch) | |
tree | 7bf519252f9fc74c4490dd5e95a1310ebbf909b5 /commands/msg/copy.go | |
parent | 1bc295580e0b2caf9349226f46f4ea29c7b12a7a (diff) | |
download | aerc-324e620c5a62fee07970c436f792c7383a3fb1e5.tar.gz |
jmap: set explicit sender and recipients
JMAP is able to automatically determine sender and recipients based on
the message headers after it is submitted for sending. However this
means that it is not possible to send a message with the From header not
matching the account with this approach (or to send the message to
recipients not listed in the headers). Luckily, JMAP allows setting the
envelope containing the envelope sender and recipients manually. Modify
the code to do so.
Also bump go-jmap to include a fix needed for this to work.
Signed-off-by: Karel Balej <balejk@matfyz.cz>
Acked-by: Robin Jarry <robin@jarry.cc>
Diffstat (limited to 'commands/msg/copy.go')
0 files changed, 0 insertions, 0 deletions