aboutsummaryrefslogtreecommitdiffstats
path: root/go.mod
diff options
context:
space:
mode:
authorKarel Balej <balejk@matfyz.cz>2024-01-30 20:11:26 +0100
committerRobin Jarry <robin@jarry.cc>2024-02-12 22:56:16 +0100
commit324e620c5a62fee07970c436f792c7383a3fb1e5 (patch)
tree7bf519252f9fc74c4490dd5e95a1310ebbf909b5 /go.mod
parent1bc295580e0b2caf9349226f46f4ea29c7b12a7a (diff)
downloadaerc-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 'go.mod')
-rw-r--r--go.mod2
1 files changed, 1 insertions, 1 deletions
diff --git a/go.mod b/go.mod
index b7a9b09d..0235abf2 100644
--- a/go.mod
+++ b/go.mod
@@ -4,7 +4,7 @@ go 1.18
require (
git.sr.ht/~rjarry/go-opt v1.3.0
- git.sr.ht/~rockorager/go-jmap v0.3.0
+ git.sr.ht/~rockorager/go-jmap v0.4.5
git.sr.ht/~rockorager/vaxis v0.7.2
github.com/ProtonMail/go-crypto v0.0.0-20230417170513-8ee5748c52b5
github.com/arran4/golang-ical v0.0.0-20230318005454-19abf92700cc