diff options
| author | bwarsaw | 1999-01-09 05:13:00 +0000 |
|---|---|---|
| committer | bwarsaw | 1999-01-09 05:13:00 +0000 |
| commit | 3a96ce474c415706e47c6a8bb70faebb18dd591c (patch) | |
| tree | afddc1af30750ffe11f58e5489e65901b1e51be9 /Mailman/pythonlib | |
| parent | d6e0cc43c3ac987c88298b0a17e847eeea5db5d9 (diff) | |
| download | mailman-3a96ce474c415706e47c6a8bb70faebb18dd591c.tar.gz mailman-3a96ce474c415706e47c6a8bb70faebb18dd591c.tar.zst mailman-3a96ce474c415706e47c6a8bb70faebb18dd591c.zip | |
ValidateEmail(): Renamed from ValidEmail().
Cleaned up its interface so that it always raises an exception if an
address problem is uncovered (it used to both raise exceptions and
return 0 or 1). It now has no useful return value.
Added a re to barf on other unacceptable characters in an email
address, currently: [ ] ( ) < > | ;
Should there be others? The test that were there are retained, but the
domain_parts test was cleaned up (there was a redundant test in
there).
Note that now unqualified addresses (e.g. those that don't contain an
`@' are now DISALLOWED). This goes partially toward Greg Stein's
suggestion.
Diffstat (limited to 'Mailman/pythonlib')
0 files changed, 0 insertions, 0 deletions
