Add a default Message-ID when sending emails (#5495)

This commit is contained in:
Quentin Gliech
2026-02-17 13:43:46 +01:00
committed by GitHub

View File

@@ -53,6 +53,9 @@ impl Mailer {
Message::builder()
.from(self.from.clone())
.reply_to(self.reply_to.clone())
// By passing `None`, lettre generates a random message ID
// with a random UUID and the hostname for us
.message_id(None)
}
fn prepare_verification_email(