Kenny, Hmmm ... good question. I suppose that you could parameterize the mailet with the list of headers to remove. That could work well with the regex matchers I have for matching headers with regex patterns. I should be posting them after v2.1 ships.
--- Noel -----Original Message----- From: Kenny Smith [mailto:[EMAIL PROTECTED]] Sent: Sunday, December 08, 2002 22:58 To: James Developers List Subject: RE: Request for new Mailet Hi Noel, Would you (or anyone else) find benefit in a Mailet that could remove multiple headers? Or should I leave the removal of multiple headers to multiple instances of a one-header removing mailet? Kenny Smith > -----Original Message----- > From: Noel J. Bergman [mailto:[EMAIL PROTECTED]] > Sent: Friday, December 06, 2002 1:25 PM > To: James Developers List > Subject: RE: Request for new Mailet > > > Kenny, > > Sounds good. :-) See MimeMessage[Wrapper].removeHeader(), e.g., > > //We need to remove this header from the copy we're sending around > message.removeHeader(RFC2822Headers.RETURN_PATH); > > from GenericListserv.java. > > If this were only about return-receipts, I suppose that one could add the > option directly to a mailing list processor, but having a generic facility > might prove useful. > > --- Noel > > -----Original Message----- > From: Kenny Smith [mailto:[EMAIL PROTECTED]] > Sent: Friday, December 06, 2002 16:02 > To: James Developers List > Subject: Re: Request for new Mailet > > > Hi there, > > I can't make any promises due to my inexperience, but I'll give > it a try! :) > > Kenny Smith > JournalScape.com > > Noel J. Bergman wrote: > > > If someone feels like writing and submitting a Mailet to remove specific > > headers, such as "Disposition-Notification-To:", that'd be appreciated. > > > > I don't have time right now, but I'll eventually get to it if > no one else > > does. > > > > Motivation: I want to be able to remove the @#$% return receipt request > > notifications from e-mails sent to mailing lists. > > > > --- Noel > > > -- > To unsubscribe, e-mail: > <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: > <mailto:[EMAIL PROTECTED]> > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>