Sending via EMail CSV from Spiffs daily: no file found

Home Forums Your projects Sending via EMail CSV from Spiffs daily: no file found

Viewing 1 reply thread
  • Author
    Posts
    • #13012
      FehnrirX

        Hi Renzo,

        fileDescriptor[0].filename = fileName;
        fileDescriptor[0].url = path;

        already check the contain of path and fileName, but serial show like this

        Serial port read

        any suggestion?

        Here’s the source code for my project.

        Basically, its attendance system with rfid and it will record the report of who’s tapping it, and that record will be send to email at after-work hour. i did put the sendToEmail routine on setup() so no need to wait until the designed time.

      • #13018
        Renzo Mischianti
        Keymaster

          Hi FehnrirX,
          the problem is that you send onnly one file but specify 2 as filenumber on this line

          
            EMailSender::Attachments attachs = {2, fileDescriptor};
          

          you must change in

          
            EMailSender::Attachments attachs = {1, fileDescriptor};
          

          Bye Renzo

      Viewing 1 reply thread
      • You must be logged in to reply to this topic.
      Exit mobile version