mirror of https://github.com/arendst/Tasmota.git
Merge branch 'development' of https://github.com/arendst/Tasmota into development
This commit is contained in:
commit
57e633ba55
File diff suppressed because it is too large
Load Diff
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…
Reference in New Issue