commit | ebf5427bfacae1c0bc497410626cbb3e995dc214 | [log] [tgz] |
---|---|---|
author | Barry Warsaw <barry@python.org> | Sun Nov 04 03:04:25 2001 +0000 |
committer | Barry Warsaw <barry@python.org> | Sun Nov 04 03:04:25 2001 +0000 |
tree | ae9a0cd8e41dff348d1e48a228566efe51bb6da1 | |
parent | 169ded0d6819f761def726deda19a35c91116674 [diff] |
Two bug fixes for problems reported by Sverre: __getaddr(): Watch out for empty addresses that can happen when something like "MAIL FROM:<CR>" is received. This avoids the IndexError and rightly returns an SMTP syntax error. parseargs(): We didn't handle the 2-arg case where both the localspec and the remotespec were provided on the command line.