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:26:44 UTC
[jira] Created: (MIME4J-80) Add methods for removing and replacing
header fields
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
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
[jira] Commented: (MIME4J-80) Add methods for removing and
replacing header fields
Posted by "Stefano Bagnara (JIRA)" <se...@james.apache.org>.
[ 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
[jira] Updated: (MIME4J-80) Add methods for removing and replacing
header fields
Posted by "Markus Wiederkehr (JIRA)" <se...@james.apache.org>.
[ 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
[jira] Resolved: (MIME4J-80) Add methods for removing and replacing
header fields
Posted by "Stefano Bagnara (JIRA)" <se...@james.apache.org>.
[ https://issues.apache.org/jira/browse/MIME4J-80?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Stefano Bagnara resolved MIME4J-80.
-----------------------------------
Resolution: Fixed
Fix Version/s: 0.5
Assignee: Stefano Bagnara
Applied.
> 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
> Assignee: Stefano Bagnara
> Priority: Minor
> Fix For: 0.5
>
> 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