Skip to content

Commit

Permalink
fix compile error with new email lib (#19608)
Browse files Browse the repository at this point in the history
  • Loading branch information
gemu2015 authored Sep 27, 2023
1 parent 955d2d8 commit 3bcdf94
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 3bcdf94

Please sign in to comment.