]> granicus.if.org Git - python/commit
smptlib did not handle empty addresses.
authorRaymond Hettinger <python@rcn.com>
Thu, 5 Sep 2002 01:14:07 +0000 (01:14 +0000)
committerRaymond Hettinger <python@rcn.com>
Thu, 5 Sep 2002 01:14:07 +0000 (01:14 +0000)
commit342456d5d25be692c3ddd43d0446b52555251ccc
treec1e84408193790c379f11b9ceef44741de98905e
parentd918884bb884c0568b6ac64dba9771c1368f0b5d
smptlib did not handle empty addresses.

The problem was that it expected rfc822.parseaddr() to return None
upon a parse failure.  The actual, documented return value for a
parse failure is (None, None).

Closes SF bug 602029.
Lib/smtplib.py