james-mime4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Markus Wiederkehr (JIRA)" <mime4j-...@james.apache.org>
Subject [jira] Issue Comment Edited: (MIME4J-130) Add parse method for e-mail addresses that contain special characters in the display name
Date Wed, 22 Apr 2009 14:30:47 GMT

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

Markus Wiederkehr edited comment on MIME4J-130 at 4/22/09 7:30 AM:
-------------------------------------------------------------------

I'm not sure what would be the best approach for this problem. Is it possible and reasonable
to modify the existing JavaCC address list parser (AddressListParser.jjt) to accept both forms?
Or does a new parser have to be written (maybe by copying and adapting AddressListParser.jjt)?

      was (Author: wmax):
    I'm not such what would be the best approach for this problem. Is it possible and reasonable
to modify the existing JavaCC address list parser (AddressListParser.jjt) to accept both forms?
Or does a new parser have to be written (maybe by copying and adapting AddressListParser.jjt)?
  
> 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 <hans.mueller@acme.com>"
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.


Mime
View raw message