Using commons-email 1.3.2 we are sending attachments through our system. After each send we want to delete the file from the file system but we get an exception:
java.nio.file.FileSystemException: \tmp\118\1.txt: The process cannot access the file because it is being used by another process we have isolated the problem to be associated with the sending of an email using send() method. I'll appreciate any help. Shai. --
