mirror of https://github.com/arendst/Tasmota.git
fix compile error with new email lib (#19608)
This commit is contained in:
parent
955d2d86dd
commit
3bcdf9487d
|
@ -294,7 +294,9 @@ void attach_File(char *path) {
|
|||
}
|
||||
att.descr.filename = cp;
|
||||
att.descr.mime = "application/octet-stream"; //binary data
|
||||
#if ESP_MAIL_VERSION_NUM<30409
|
||||
att.file.storage_type = esp_mail_file_storage_type_univ;
|
||||
#endif
|
||||
att.descr.transfer_encoding = Content_Transfer_Encoding::enc_base64;
|
||||
email_mptr->addAttachment(att);
|
||||
email_mptr->resetAttachItem(att);
|
||||
|
|
Loading…
Reference in New Issue