Oct-27-2018, 07:40 PM
The attachment is sending just fine. Ignore the 20 second delay, I just had that in there for testing purposes.
The problem I'm having is that as the logger logs to the text file, the email will send the attachment but will not send an updated text file because the folder is still open and being written to.
I need a clean way to close the file, and re-open the function to start again after it captures so many characters... or so much time goes by.. etc.
The problem I'm having is that as the logger logs to the text file, the email will send the attachment but will not send an updated text file because the folder is still open and being written to.
I need a clean way to close the file, and re-open the function to start again after it captures so many characters... or so much time goes by.. etc.