fix Message-Id, fixes #20
This commit is contained in:
parent
9a121b6ed5
commit
08aa23b397
1 changed files with 1 additions and 1 deletions
|
|
@ -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())
|
||||
|
|
|
|||
Loading…
Reference in a new issue