You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-user@james.apache.org by James <ja...@news.utopix.ch> on 2004/01/21 11:20:06 UTC
Delete BodyPart that are EXE files
Hello,
I would like to delete EXE files from Mail...
What I do is to list all BodyParts, Message and MimeMessage of the tree
of a mail
and then I do
myBodyPart.getParent().removeBodyPart(myBodyPart)
then I do for all MimeMessage
allMimeMessage.saveChanges()
also on the root Message
and my mail still have its EXE file ;O(
any idea ?
---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org