[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Classpathx-javamail] Legal email addresses for InternetAddress
From: |
Øyvind Harboe |
Subject: |
[Classpathx-javamail] Legal email addresses for InternetAddress |
Date: |
Fri, 16 Jan 2004 10:28:52 +0100 |
I thought that the line below should throw an exception on *all* illegal
email addresses:
// this does not throw an exception
new InternetAddress("ab#surelynotavalidemailaddress##!!!!cdef");
// this does throw an exception
new InternetAddress("@asdf");
new InternetAddress("asdf@");
(From the traffic in the archives it appears that the classpathx-javamail list
is
more or less dormant, hence this crosspost.)
Øyvind
- [Classpathx-javamail] Legal email addresses for InternetAddress,
Øyvind Harboe <=