From f6497b1aaf65e80b0dc5d96e143c834aefc7185f Mon Sep 17 00:00:00 2001 From: Mechiel Lukkien Date: Wed, 21 Feb 2024 21:19:52 +0100 Subject: [PATCH] when parsing a dsn, actually set the Action field noticed when writing dsn-processing code --- dsn/parse.go | 1 + 1 file changed, 1 insertion(+) diff --git a/dsn/parse.go b/dsn/parse.go index a76a056..0bac9bc 100644 --- a/dsn/parse.go +++ b/dsn/parse.go @@ -217,6 +217,7 @@ func parseRecipientHeader(mr *textproto.Reader, utf8 bool) (Recipient, error) { for _, x := range actions { if a == x { ok = true + r.Action = a break } }