commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sebb <seb...@gmail.com>
Subject Re: [email] Problem with deleting attachments
Date Thu, 09 Jan 2014 14:52:39 GMT
On 9 January 2014 14:15, שי בנטין <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.

Sounds like the code still has the file open.

Which version of EMAIL are you using?

> Shai.
> --
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
For additional commands, e-mail: user-help@commons.apache.org


Mime
View raw message