From 8b7865ea6ac8535e9b6c850d56e61d81bd41b57c Mon Sep 17 00:00:00 2001 From: Slavey Karadzhov Date: Mon, 25 Nov 2024 14:53:40 +0100 Subject: [PATCH] Fixe(s) suggested by Mikee. --- Sming/Components/Network/src/Network/SmtpClient.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sming/Components/Network/src/Network/SmtpClient.cpp b/Sming/Components/Network/src/Network/SmtpClient.cpp index 3e5aa14d8f..4cf2c9960b 100644 --- a/Sming/Components/Network/src/Network/SmtpClient.cpp +++ b/Sming/Components/Network/src/Network/SmtpClient.cpp @@ -298,7 +298,7 @@ void SmtpClient::sendMailHeaders(MailMessage* mail) } if(!mail->headers.contains(F("Message-ID"))) { - auto uuid = Uuid(); + Uuid uuid; uuid.generate(); mail->headers[F("Message-ID")] = "<" + uuid.toString() + "@" + url.Host + ">"; }