james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oki DZ <ok...@pindad.com>
Subject InternetAddress
Date Tue, 11 Sep 2001 06:50:49 GMT
Hi,

I'd like to verify that destination addresses are valid ones; I use
InternetAddress as a validator in a matcher. Unfortunately, the following
address throws an Exception:
regexp-user-uc.1000177738.ijpolbdheajjdgacajjp-okidz=pindad.com@jakarta.apache.org
Which one is wrong? The address, or the
javax.mail.internet.InternetAddress?

BTW, where can I get a regex for validating email addresses? I've been
looking for it in Google, but the advice I got was to use a Perl module
(well, there must be the source somewhere, but Perl module source is
beyond me). Ideally, the regex is for ORO (Perl regex or Awk), so that I
can immediately insert it in the matchers. 

TIA,
Oki





---------------------------------------------------------------------
To unsubscribe, e-mail: james-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: james-dev-help@jakarta.apache.org


Mime
View raw message