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

Ioan Eugen Stan reassigned MAILET-28:
-------------------------------------

    Assignee: Ioan Eugen Stan
    
> MailAddress is not RFC 821 compliant
> ------------------------------------
>
>                 Key: MAILET-28
>                 URL: https://issues.apache.org/jira/browse/MAILET-28
>             Project: James Mailet
>          Issue Type: Bug
>          Components: Core API
>    Affects Versions: 2.4
>            Reporter: Amichai Rothman
>            Assignee: Ioan Eugen Stan
>             Fix For: 2.5
>
>         Attachments: mailaddress_tests_and_fixes.diff
>
>
> MailAddress address parsing claims to be RFC 821 compliant but fails in 
> various ways. I added a bunch of test cases to the unit tests, and fixed 
> several that failed.
> On a related note, perhaps it's time to move it to RFC 5321 compliance (not 
> entirely cross-compatible with 821, but it obsoletes it and is the current 
> standard, and incompatibilities are generally in obscure syntax constructs 
> which are never used in practice anyway). I was thinking of a complete 
> rewrite, seeing that the current implementation is buggy, over-complex and 
> inefficient (e.g. using lots of StringBuffers which are not needed, having an 
> unnecessary field which is used only during construction, etc.)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to