commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thomas Neidhart <thomas.neidh...@gmail.com>
Subject Re: [email] Problem with deleting attachments
Date Thu, 09 Jan 2014 15:09:25 GMT
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, שי בנטין <shai@cashboard.co.il> 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.
> --
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message