From 4336cd06c487d7ba69d18c9092d4cbe1a92dda86 Mon Sep 17 00:00:00 2001 From: Theo Arends <11044339+arendst@users.noreply.github.com> Date: Tue, 13 Oct 2026 16:18:16 +0200 Subject: [PATCH] Add define EMAIL_DISABLE_CHUNKING for ESP32 mail --- .../tasmota_xdrv_driver/xdrv_01_2_webserver_esp32_mail.ino | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tasmota/tasmota_xdrv_driver/xdrv_01_2_webserver_esp32_mail.ino b/tasmota/tasmota_xdrv_driver/xdrv_01_2_webserver_esp32_mail.ino index d19546728..64a999357 100644 --- a/tasmota/tasmota_xdrv_driver/xdrv_01_2_webserver_esp32_mail.ino +++ b/tasmota/tasmota_xdrv_driver/xdrv_01_2_webserver_esp32_mail.ino @@ -212,7 +212,12 @@ uint16_t SendMail(char *buffer) { session.login.password = passwd; session.login.user_domain = "googlemail.com"; +#ifdef EMAIL_DISABLE_CHUNKING + message.enable.chunking = false; +#else message.enable.chunking = true; +#endif + char sname[32]; strlcpy(sname, SettingsText(SET_FRIENDLYNAME1), sizeof(sname)); message.sender.name = sname;