- This topic has 4 replies, 1 voice, and was last updated 4 years, 1 month ago by .
- You must be logged in to reply to this topic.
Home › Forums › The libraries hosted on the site › EMailSender send email with attachments › Can’t remove attached file after sending it in email
Hi,
I have recently noticed that after sending a file in an attachment I cant delete it from D1 Mini SPIFFS system. The only way I can do this by calling SPIFFS.end(); function then SPIFFS.begin(); again.
I think that emailsender library somehow does not release the file after sending it.
Do you any idea related to this issue?
Thanks,
Norbert
Hi Norbert,
please do this test comment the line
#define OPEN_CLOSE_SPIFFS
on
EMailSender.h
file and retry.
Give me a feedback.
Bye Renzo
I tried to comment that line but no luck.
Just for sure switched back to SPIFFS.end()->SPIFFS.begin(); that does the job.
Hi Norbert,
I try to fix, please do some test with the version on this branch.
Give me a feedback.
Thanks Renzo
It seems it removes the file now.
It looks like it sends information to your account at gmail…is that ok?
More
3D Printer 3D printer upgrade ABB Arduino Arduino IDE Arduino SAMD boards Aurora AWS CNC Cyclone PCB Factory Cyclone PCB Factory how to build It Display DynamoDB E32 E70 EByte esp01 esp32 esp8266 File System Firmware i2c Library LoRa MicroPython Milling PCB My PCB Networking PCB pinout Power saving Raspberry Pi REST API RF rp2040 SD Card Sensors Sleep and Wake UP SPI STM32 Temperature Tutorial Web Server Wemos D1 mini WiFi