You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by "Markus Wiederkehr (JIRA)" <se...@james.apache.org> on 2008/09/29 20:28:44 UTC

[jira] Updated: (MIME4J-80) Add methods for removing and replacing header fields

     [ https://issues.apache.org/jira/browse/MIME4J-80?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Markus Wiederkehr updated MIME4J-80:
------------------------------------

    Attachment: mime4j-set-remove-fields.patch

Please consider the patch mime4j-set-remove-fields.patch.

> Add methods for removing and replacing header fields
> ----------------------------------------------------
>
>                 Key: MIME4J-80
>                 URL: https://issues.apache.org/jira/browse/MIME4J-80
>             Project: JAMES Mime4j
>          Issue Type: New Feature
>    Affects Versions: 0.5
>            Reporter: Markus Wiederkehr
>            Priority: Minor
>         Attachments: mime4j-set-remove-fields.patch
>
>
> Currently Mime4j does a good job when parsing a message from an input stream. If one wants to manipulate a message a few more methods in class Header would come in handy:
> * removeFields(String) to remove all field of the given name
> * setField(Field) to set or replace fields that should only occur once (Subject, Message-ID, ..)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org