I've not read the whole thread and evaluations, but I just want to
point you to a bookmark of mine:
http://www.boxbe.com/freebox.html

---
EmailAddress.java

The only more-or-less-2822-compliant Java-based email address
extracter/verifier with some header verification as well. Reasonably,
Javamail's InternetAddress class does not have a very robust parser,
and often "fails" silently (technically not a failure, but not
suitable for those that need to extract addresses accurately and
predictably). This class can reliably extract the pertinent
information from any well-formed address, as well as perform several
other useful functions relating to addresses and email headers.
---

I know it is based on regex, so I'm not sure how it performs, but it
is a single well commented class under the apache license.

Stefano

2009/9/16 Robert Burrell Donkin <[email protected]>:
> On Tue, Sep 15, 2009 at 8:20 PM, Markus Wiederkehr
> <[email protected]> wrote:
>> On Sat, Aug 8, 2009 at 7:50 PM, Norman Maurer <[email protected]> wrote:
>>> Well, I think we should alter it. I never understood why james support
>>> case sensitive email addresses at all..
>>
>> AIUI the local-part of a mailbox is case sensitive whereas the domain
>> is not (see RFC 5321 section 2.4.).
>>
>> This is how Mime4j's class Mailbox implements hashCode and equals, anyway.
>
> yes (i remember now :-)
>
> IIRC the Mailbox version in Mime4J is the preferred solution so we
> should probably use that
>
>> In any case hashCode and equals have to be consistent with each other of 
>> course.
>
> +1
>
> - robert
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to