Re: How can i remove headers in JavaMail?
Thursday, April 25, 2002 04:53 AM
The MimeMessage has a method called
This will remove all headers with a given name.
Note that the folder the message is in will have to be opened READ_WRITE at the point of modification.
Probably you will want to make a copy and work on the copy