Skip to content

Commit

Permalink
v3.0.9 Fix external storage error 404
Browse files Browse the repository at this point in the history
  • Loading branch information
xreef committed Jan 13, 2023
1 parent 0e5b8ba commit a1b2aca
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 8 deletions.
8 changes: 4 additions & 4 deletions EMailSender.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* EMail Sender Arduino, esp8266, stm32 and esp32 library to send email
*
* AUTHOR: Renzo Mischianti
* VERSION: 3.0.8
* VERSION: 3.0.9
*
* https://www.mischianti.org/
*
Expand Down Expand Up @@ -816,8 +816,8 @@ EMailSender::Response EMailSender::send(const char* to[], byte sizeOfTo, byte s
DEBUG_PRINT(F("Readed filename: "));
DEBUG_PRINTLN(attachments.fileDescriptor[i].filename);

DEBUG_PRINT(F("Check if exist: "));
DEBUG_PRINTLN(INTERNAL_STORAGE_CLASS.exists(attachments.fileDescriptor[i].url.c_str()));
// DEBUG_PRINT(F("Check if exist: "));
// DEBUG_PRINTLN(INTERNAL_STORAGE_CLASS.exists(attachments.fileDescriptor[i].url.c_str()));

int clientCount = 0;

Expand Down Expand Up @@ -863,7 +863,6 @@ EMailSender::Response EMailSender::send(const char* to[], byte sizeOfTo, byte s
spiffsActive = true;
DEBUG_PRINTLN("SPIFFS BEGIN, ACTIVE");
} // Close INTERNAL_STORAGE_CLASS.exists
} // Close storageType

#endif

Expand Down Expand Up @@ -896,6 +895,7 @@ EMailSender::Response EMailSender::send(const char* to[], byte sizeOfTo, byte s

return response;
} // Close myfile
} // Close storageType

#endif
#ifdef STORAGE_EXTERNAL_ENABLED
Expand Down
2 changes: 1 addition & 1 deletion EMailSender.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* EMail Sender Arduino, esp8266, stm32 and esp32 library to send email
*
* AUTHOR: Renzo Mischianti
* VERSION: 3.0.8
* VERSION: 3.0.9
*
* https://www.mischianti.org/
*
Expand Down
2 changes: 1 addition & 1 deletion EMailSenderKey.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* EMail Sender Arduino, esp8266, stm32 and esp32 library to send email
*
* AUTHOR: Renzo Mischianti
* VERSION: 3.0.8
* VERSION: 3.0.9
*
* https://www.mischianti.org/
*
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ Arduino (support W5100 like must be set, and ENC28J60 via UIPEthernet), esp8266
#### [Inviare email con allegati (libreria v2.x): esp32 e esp8266](https://www.mischianti.org/it/2020/06/16/inviare-email-con-allegati-libreria-v2-x-esp32-e-esp8266-part-2/)

## Change log
- 13/01/2023: v3.0.9 Fix external storage error 404 ([#forum](https://www.mischianti.org/forums/topic/email-with-sd-files/)
- 05/01/2023: v3.0.8 Fix distribution list examples
- 22/09/2022: v3.0.7 Add Raspberry Pi Pico W and rp2040 boards
- 20/09/2022: v3.0.7 Add STM32 management for https://github.com/rogerclarkmelbourne/Arduino_STM32 library.
Expand Down
2 changes: 1 addition & 1 deletion library.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@
},
"url": "https://www.mischianti.org/category/my-libraries/emailsender-send-email-with-attachments/",
"frameworks": "Arduino",
"version": "3.0.8",
"version": "3.0.9",
"platforms": "*"
}
2 changes: 1 addition & 1 deletion library.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name=EMailSender
version=3.0.8
version=3.0.9
author=Renzo Mischianti <[email protected]>
maintainer=Renzo Mischianti <[email protected]>
sentence=Send EMail via SMTP, library for Raspberry Pi Pico W, Arduino, SAMD (WiFiNINA), STM32, esp8266 and esp32.
Expand Down

0 comments on commit a1b2aca

Please sign in to comment.