Hi Shai, this is probably related to EMAIL-120. It depends on how you attach the file to the Email object, you may want to try the variant with a URL instead of a File object.
Thomas On Thu, Jan 9, 2014 at 3:15 PM, שי בנטין <[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. > > Shai. > -- > >
