[Zope] Pseudo E-Mail Address validation

Ender kthangavelu@earthlink.net
Wed, 22 Nov 2000 04:57:42 -0800


Martin Winkler wrote:
> 
> Hi all,
> 
> For a subscription tool of a mailing list I'd like to quick-check the
> e-mail address our users type. Is there a little product/method etc.
> available that does this? I know that you can only be sure whether an
> e-mail address exists or not, when you actually send a mail to the user,
> but a quick-n-dirty check would be nice. Maybe even complete RFC-compliancy
> as implemented in some Perl-Modules? (spaces, "@" sign, dot-notation etc.)
> 
> Hoping for an answer,
> 
> Martin
> 

not feature complete but def. qualifying as a quick-n-dirty-check

<dtml-if "'@' in email_addr and '.' in email_addr and not ' ' in
email_addr">
	valid <dtml-var email_addr>
</dtml-if>

solves most of my concerns with valid email addrs


kapil