mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-23 10:46:31 +00:00
fix email32 file system (#20603)
* fix file system * fix email attachments * Update MB_FS.h
This commit is contained in:
parent
908a918b8e
commit
04bb28bc20
File diff suppressed because it is too large
Load Diff
1139
lib/libesp32/ESP-Mail-Client/src/extras/MB_FS_org.h
Normal file
1139
lib/libesp32/ESP-Mail-Client/src/extras/MB_FS_org.h
Normal file
File diff suppressed because it is too large
Load Diff
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user