>Hi,
>
>While we're all contributing our code, here's what I use in a generic
>mail/WWW handler. It's used on lots of web forms where people enter in
>addresses. It won't check for an incorrect address, but it does give
>good results for common errors: We were getting lots of "username", or
>"1234,5678@compuserve.com", or even "12345.5678@CompuserveCom".
not that it's particularly relevant to majordomo, but our mail system is
configured to generate somewhat more helpful bounce messages. Most
erroneous addresses are simple typos, but at least the following sort of
reply serves to focus the user's attention. It is also special-cased for
DECNET, compuserve, BITNET addresses.
Reporting on the following email address:
'p.becker@pgrad.uni.melb.edu.au'
ERROR!
domain: 'pgrad.uni.melb.edu.au'
^^^^
I reckon THAT is the rightmost mistake
(but something could be missing to its' immediate right)
(and I can't check anything to its' left)
dunno whether the domain checking it does would be the thing for vetting
email addresses though.
cheers,
Danny Thomas
|
|