P
Peter L. Berghold
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi folks,
I have within the last year or so just gotten back into Java and mostly
claim to be a Perl programmer. What I want to do is fairly easy within
Perl, but I'm not sure how to go about it in Java.
I have a web application for a club I belong to that is written within
the Tomcat JSP container. One of the pieces of logic I've put in allows
a web person (for lack of better term) to be able to click a button, get
a form to send email (without exposing the email address of the person
getting the email to harvesters) fill out the form and send the email.
What I want to do is validate that the email addresses people give as
their return email address is valid. Not only as a properly formatted
email address, but that the TLD is valid. My hope is that doing this
will be yet another way to cut down on spammers.
In Perl there exists a module called Email::Valid that allows you to do
this. Is there such a thing in the Java world?
Sorry if this is a FAQ... I did do a google search before asking and
other than commercial products I didn't see anything...
- --
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
Peter L. Berghold (e-mail address removed)
"Those who fail to learn from history are condemned to repeat it."
AIM: redcowdawg Yahoo IM: blue_cowdawg ICQ: 11455958
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)
Comment: Using GnuPG with Red Hat - http://enigmail.mozdev.org
iD8DBQFFlA5UUM9/01RIhaARAqXLAKCMXq/zkz60ZTnsPVHGBhmRGpQkUgCePofw
DYMD+EdROAOHmshcuiDHwaE=
=scmn
-----END PGP SIGNATURE-----
Hash: SHA1
Hi folks,
I have within the last year or so just gotten back into Java and mostly
claim to be a Perl programmer. What I want to do is fairly easy within
Perl, but I'm not sure how to go about it in Java.
I have a web application for a club I belong to that is written within
the Tomcat JSP container. One of the pieces of logic I've put in allows
a web person (for lack of better term) to be able to click a button, get
a form to send email (without exposing the email address of the person
getting the email to harvesters) fill out the form and send the email.
What I want to do is validate that the email addresses people give as
their return email address is valid. Not only as a properly formatted
email address, but that the TLD is valid. My hope is that doing this
will be yet another way to cut down on spammers.
In Perl there exists a module called Email::Valid that allows you to do
this. Is there such a thing in the Java world?
Sorry if this is a FAQ... I did do a google search before asking and
other than commercial products I didn't see anything...
- --
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
Peter L. Berghold (e-mail address removed)
"Those who fail to learn from history are condemned to repeat it."
AIM: redcowdawg Yahoo IM: blue_cowdawg ICQ: 11455958
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)
Comment: Using GnuPG with Red Hat - http://enigmail.mozdev.org
iD8DBQFFlA5UUM9/01RIhaARAqXLAKCMXq/zkz60ZTnsPVHGBhmRGpQkUgCePofw
DYMD+EdROAOHmshcuiDHwaE=
=scmn
-----END PGP SIGNATURE-----