I'm using the MimeBodyPart to add files as attachments.
The point is that I want to delete the files before sending the message.
Can you let me know if and when I can delete it?
The code that I'm talking about (from the javax.mail example) is:
Multipart multipart = new MimeMultipart();
// Part two is attachment
messageBodyPart = new MimeBodyPart();
DataSource source = new FileDataSource(filename);