Merge branch 'development' of https://github.com/arendst/Tasmota into development

This commit is contained in:
Theo Arends 2024-01-27 11:24:16 +01:00
commit 57e633ba55
3 changed files with 1230 additions and 873 deletions

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -296,6 +296,8 @@ void attach_File(char *path) {
att.descr.mime = "application/octet-stream"; //binary data
#if ESP_MAIL_VERSION_NUM<30409
att.file.storage_type = esp_mail_file_storage_type_univ;
#else
att.file.storage_type = esp_mail_file_storage_type_flash;
#endif
att.descr.transfer_encoding = Content_Transfer_Encoding::enc_base64;
email_mptr->addAttachment(att);