james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stefano Bagnara (JIRA)" <server-...@james.apache.org>
Subject [jira] Commented: (MIME4J-80) Add methods for removing and replacing header fields
Date Wed, 01 Oct 2008 12:11:44 GMT

    [ https://issues.apache.org/jira/browse/MIME4J-80?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12636008#action_12636008
] 

Stefano Bagnara commented on MIME4J-80:
---------------------------------------

The patch looks ok to me. If no one else take over this and noone object the patch I'll try
to find the time to apply this soon.

> 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


Mime
View raw message