Email address syntax check?
- From: tuxedo <tuxedo@xxxxxxxxxxxxxx>
- Date: Sat, 02 Dec 2006 20:58:00 +0100
I'd like to do a email address verification as part of a simple cgi web mail
submission form. I'm considering use of the Email::Valid module, which
requires Mail::Address, which is part of the MailTools-1.74 package.
However, unfortunately, I do not have sufficient permissions to install
modules other than in external directories on the server.
The Email::Valid module is not a problem as it can be installed by ...
perl Makefile.PL PREFIX=/where/I/want/it/put
.... but the installation of MailTools-1.74 does not offer the same
possibility through the PREFIX method. I tried but I got the usual error:
"Warning: You do not permission to install in /usr/lib/perl5/.." etc.
Anyone happens to know a solution? Or perhaps better, a procedure that is
already part of the perl version which I have - perl 5.6.1.
What I'm hoping for is a non-critical address syntax check, without getting
my hands dirty with complex regex's and RFC's....
Any pointers to man pages, or even entire syntax checking code, would be
greatly appreciated!
Many thanks!
.
- Follow-Ups:
- Re: Email address syntax check?
- From: Chris Davies
- Re: Email address syntax check?
- From: Gunnar Hjalmarsson
- Re: Email address syntax check?
- From: tuxedo
- Re: Email address syntax check?
- Prev by Date: Proposal: String::Format::General
- Next by Date: How to include a connection file in perl
- Previous by thread: Trouble installing libapreq2-2.08
- Next by thread: Re: Email address syntax check?
- Index(es):
Relevant Pages
|
|