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

Markus Wiederkehr commented on MIME4J-130:
------------------------------------------

We could add methods such as Address.for(String), Group.for(String) and 
Mailbox.for(String) for this purpose.

> Add parse method for e-mail addresses that contain special characters in the 
> display name
> -----------------------------------------------------------------------------------------
>
>                 Key: MIME4J-130
>                 URL: https://issues.apache.org/jira/browse/MIME4J-130
>             Project: JAMES Mime4j
>          Issue Type: New Feature
>    Affects Versions: 0.6
>            Reporter: Markus Wiederkehr
>            Assignee: Markus Wiederkehr
>             Fix For: 0.7
>
>
> Address.parse(), Group.parse() and Mailbox.parse() can only parse addresses 
> in their raw (encoded) form. They are capable of decoding encoded words (RFC 
> 2047) but they do not accept already decoded special characters.
> In other words, they can parse the result of Address.getEncodedString() but 
> not Address.getDisplayString().
> Mime4j should have a means to parse an address such as "Hans Müller 
> <[email protected]>" for generating new messages or manipulating existing 
> ones.

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

Reply via email to