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())