From 08aa23b3974a029c689accf517cbdde6f946c34b Mon Sep 17 00:00:00 2001 From: Aine Date: Thu, 8 Sep 2022 14:08:17 +0300 Subject: [PATCH] fix Message-Id, fixes #20 --- bot/command.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot/command.go b/bot/command.go index bf4acb4..31aa18a 100644 --- a/bot/command.go +++ b/bot/command.go @@ -300,7 +300,7 @@ func (b *Bot) runSend(ctx context.Context) { } from := mailbox + "@" + b.domain - ID := evt.ID.String()[1:] + "@" + b.domain + ID := fmt.Sprintf("<%s@%s>", evt.ID, b.domain) data := utils. NewEmail(ID, "", subject, from, to, body, "", nil). Compose(b.getBotSettings().DKIMPrivateKey())