fix Message-Id, fixes #20
This commit is contained in:
@@ -300,7 +300,7 @@ func (b *Bot) runSend(ctx context.Context) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
from := mailbox + "@" + b.domain
|
from := mailbox + "@" + b.domain
|
||||||
ID := evt.ID.String()[1:] + "@" + b.domain
|
ID := fmt.Sprintf("<%s@%s>", evt.ID, b.domain)
|
||||||
data := utils.
|
data := utils.
|
||||||
NewEmail(ID, "", subject, from, to, body, "", nil).
|
NewEmail(ID, "", subject, from, to, body, "", nil).
|
||||||
Compose(b.getBotSettings().DKIMPrivateKey())
|
Compose(b.getBotSettings().DKIMPrivateKey())
|
||||||
|
|||||||
Reference in New Issue
Block a user