On 9 January 2014 14:15, שי בנטין <[email protected]> wrote: > 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.
Sounds like the code still has the file open. Which version of EMAIL are you using? > Shai. > -- > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
