james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Serge Knystautas" <ser...@lokitech.com>
Subject Re: InternetAddress
Date Thu, 13 Sep 2001 02:15:24 GMT
I did new javax.mail.internet.InternetAddress(....) with that address and
got no exception... Maybe you're using an older javamail version?  (I'm
using 1.2 which is used by James)

Serge Knystautas
Loki Technologies
http://www.lokitech.com/
----- Original Message -----
From: "Oki DZ" <okidz@pindad.com>
To: <james-dev@jakarta.apache.org>
Sent: Tuesday, September 11, 2001 2:50 AM
Subject: InternetAddress


> 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.apac
he.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
>
>


---------------------------------------------------------------------
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