diff --git a/library.json b/library.json index bdb2976f..e2280a73 100644 --- a/library.json +++ b/library.json @@ -1,6 +1,6 @@ { "name": "ESP Mail Client", - "version": "3.3.5", + "version": "3.3.6", "keywords": "communication, email, imap, smtp, esp32, esp8266, samd, arduino", "description": "Arduino E-Mail Client Library to send, read and get incoming email notification for ESP32, ESP8266 and SAMD21 devices. The library also supported other Arduino Devices using Clients interfaces e.g. WiFiClient, EthernetClient, and GSMClient.", "repository": { diff --git a/library.properties b/library.properties index 2a7799b0..1780c99d 100644 --- a/library.properties +++ b/library.properties @@ -1,6 +1,6 @@ name=ESP Mail Client -version=3.3.5 +version=3.3.6 author=Mobizt diff --git a/src/ESP_Mail_Client.cpp b/src/ESP_Mail_Client.cpp index 3e8a525f..c6ea0ed7 100644 --- a/src/ESP_Mail_Client.cpp +++ b/src/ESP_Mail_Client.cpp @@ -2,14 +2,14 @@ #define ESP_MAIL_CLIENT_CPP #include "ESP_Mail_Client_Version.h" -#if !VALID_VERSION_CHECK(30305) +#if !VALID_VERSION_CHECK(30306) #error "Mixed versions compilation." #endif /** * Mail Client Arduino Library for Espressif's ESP32 and ESP8266, Raspberry Pi RP2040 Pico, and SAMD21 with u-blox NINA-W102 WiFi/Bluetooth module * - * Created July 28, 2023 + * Created July 29, 2023 * * This library allows Espressif's ESP32, ESP8266, SAMD and RP2040 Pico devices to send and read Email through the SMTP and IMAP servers. * diff --git a/src/ESP_Mail_Client.h b/src/ESP_Mail_Client.h index 10ddec3c..d0965635 100644 --- a/src/ESP_Mail_Client.h +++ b/src/ESP_Mail_Client.h @@ -2,14 +2,14 @@ #define ESP_MAIL_CLIENT_H #include "ESP_Mail_Client_Version.h" -#if !VALID_VERSION_CHECK(30305) +#if !VALID_VERSION_CHECK(30306) #error "Mixed versions compilation." #endif /** * Mail Client Arduino Library for Espressif's ESP32 and ESP8266, Raspberry Pi RP2040 Pico, and SAMD21 with u-blox NINA-W102 WiFi/Bluetooth module * - * Created July 28, 2023 + * Created July 29, 2023 * * This library allows Espressif's ESP32, ESP8266, SAMD and RP2040 Pico devices to send and read Email through the SMTP and IMAP servers. * @@ -623,7 +623,7 @@ class SMTP_Message template void addCc(T email) { - struct esp_mail_smtp_recipient_address_t cc; + struct esp_mail_address_info_t cc; cc.email = toStringPtr(email); _cc.push_back(cc); }; @@ -635,7 +635,7 @@ class SMTP_Message template void addBcc(T email) { - struct esp_mail_smtp_recipient_address_t bcc; + struct esp_mail_address_info_t bcc; bcc.email = toStringPtr(email); _bcc.push_back(bcc); }; diff --git a/src/ESP_Mail_Client_Version.h b/src/ESP_Mail_Client_Version.h index cfa3cc9a..c6814efd 100644 --- a/src/ESP_Mail_Client_Version.h +++ b/src/ESP_Mail_Client_Version.h @@ -3,8 +3,8 @@ #ifndef ESP_MAIL_VERSION -#define ESP_MAIL_VERSION "3.3.5" -#define ESP_MAIL_VERSION_NUM 30305 +#define ESP_MAIL_VERSION "3.3.6" +#define ESP_MAIL_VERSION_NUM 30306 /* The inconsistent file version checking to prevent mixed versions compilation. */ #define VALID_VERSION_CHECK(ver) (ver == ESP_MAIL_VERSION_NUM) diff --git a/src/ESP_Mail_Const.h b/src/ESP_Mail_Const.h index 4cda6a6a..93f50243 100644 --- a/src/ESP_Mail_Const.h +++ b/src/ESP_Mail_Const.h @@ -6,7 +6,7 @@ #define ESP_MAIL_CONST_H #include "ESP_Mail_Client_Version.h" -#if !VALID_VERSION_CHECK(30305) +#if !VALID_VERSION_CHECK(30306) #error "Mixed versions compilation." #endif diff --git a/src/ESP_Mail_Error.h b/src/ESP_Mail_Error.h index 6073f2e7..8a4707a3 100644 --- a/src/ESP_Mail_Error.h +++ b/src/ESP_Mail_Error.h @@ -7,7 +7,7 @@ #define ESP_MAIL_ERROR_H #include "ESP_Mail_Client_Version.h" -#if !VALID_VERSION_CHECK(30305) +#if !VALID_VERSION_CHECK(30306) #error "Mixed versions compilation." #endif diff --git a/src/ESP_Mail_FS.h b/src/ESP_Mail_FS.h index 3a5f2599..5c71cfec 100644 --- a/src/ESP_Mail_FS.h +++ b/src/ESP_Mail_FS.h @@ -6,7 +6,7 @@ #define ESP_MAIL_CONFIG_H #include "ESP_Mail_Client_Version.h" -#if !VALID_VERSION_CHECK(30305) +#if !VALID_VERSION_CHECK(30306) #error "Mixed versions compilation." #endif diff --git a/src/ESP_Mail_IMAP.h b/src/ESP_Mail_IMAP.h index 7ccc649c..d2cb4fac 100644 --- a/src/ESP_Mail_IMAP.h +++ b/src/ESP_Mail_IMAP.h @@ -3,7 +3,7 @@ #define ESP_MAIL_IMAP_H #include "ESP_Mail_Client_Version.h" -#if !VALID_VERSION_CHECK(30305) +#if !VALID_VERSION_CHECK(30306) #error "Mixed versions compilation." #endif diff --git a/src/ESP_Mail_Print.h b/src/ESP_Mail_Print.h index 6e4eefa5..ad57acbb 100644 --- a/src/ESP_Mail_Print.h +++ b/src/ESP_Mail_Print.h @@ -2,7 +2,7 @@ #define ESP_MAIL_PRINT_H_ #include "ESP_Mail_Client_Version.h" -#if !VALID_VERSION_CHECK(30305) +#if !VALID_VERSION_CHECK(30306) #error "Mixed versions compilation." #endif diff --git a/src/ESP_Mail_SMTP.h b/src/ESP_Mail_SMTP.h index 6fec0341..4f0938e1 100644 --- a/src/ESP_Mail_SMTP.h +++ b/src/ESP_Mail_SMTP.h @@ -3,7 +3,7 @@ #define ESP_MAIL_SMTP_H #include "ESP_Mail_Client_Version.h" -#if !VALID_VERSION_CHECK(30305) +#if !VALID_VERSION_CHECK(30306) #error "Mixed versions compilation." #endif diff --git a/src/extras/MB_Time.h b/src/extras/MB_Time.h index f83d635e..195c80e4 100644 --- a/src/extras/MB_Time.h +++ b/src/extras/MB_Time.h @@ -2,7 +2,7 @@ #define MB_Time_H #include "ESP_Mail_Client_Version.h" -#if !VALID_VERSION_CHECK(30305) +#if !VALID_VERSION_CHECK(30306) #error "Mixed versions compilation." #endif diff --git a/src/extras/RFC2047.cpp b/src/extras/RFC2047.cpp index 601276e4..7b76beb5 100644 --- a/src/extras/RFC2047.cpp +++ b/src/extras/RFC2047.cpp @@ -2,7 +2,7 @@ #define RFC2047_CPP #include "ESP_Mail_Client_Version.h" -#if !VALID_VERSION_CHECK(30305) +#if !VALID_VERSION_CHECK(30306) #error "Mixed versions compilation." #endif diff --git a/src/extras/RFC2047.h b/src/extras/RFC2047.h index 9ac3cfa8..ba31f880 100644 --- a/src/extras/RFC2047.h +++ b/src/extras/RFC2047.h @@ -4,7 +4,7 @@ #define RFC2047_H #include "ESP_Mail_Client_Version.h" -#if !VALID_VERSION_CHECK(30305) +#if !VALID_VERSION_CHECK(30306) #error "Mixed versions compilation." #endif