|
@@ -724,6 +724,7 @@ func (am *AccountManager) dispatchMailtoCallback(client *Client, account string,
|
724
|
724
|
if config.DKIM.Domain != "" {
|
725
|
725
|
fmt.Fprintf(&message, "Message-ID: <%s@%s>\r\n", utils.GenerateSecretKey(), config.DKIM.Domain)
|
726
|
726
|
}
|
|
727
|
+ fmt.Fprintf(&message, "Date: %s\r\n", time.Now().UTC().Format(time.RFC1123Z))
|
727
|
728
|
fmt.Fprintf(&message, "Subject: %s\r\n", subject)
|
728
|
729
|
message.WriteString("\r\n") // blank line: end headers, begin message body
|
729
|
730
|
fmt.Fprintf(&message, client.t("Account: %s"), account)
|