Message388408
Hi Senthil,
You're right, it does need a guard. According to my knowledge there is no AUTH mechanism that will send more than 3 challenges; they should fail afterwards with 535 or similar. Servers that don't do that should be considered buggy/broken.
So I've pushed a commit to the GH PR that limits the challenge to 5 times, after which it will raise SMTPException. This will protect users of smtplib.SMTP from being trapped by a buggy/broken server.
Rgds,
-- |
|
Date |
User |
Action |
Args |
2021-03-10 07:17:30 | pepoluan | set | recipients:
+ pepoluan, barry, orsenthil, r.david.murray, redstone-cold, Dario D'Amico, Mario Colombo, rahul-kumi |
2021-03-10 07:17:29 | pepoluan | set | messageid: <1615360649.84.0.327005937239.issue27820@roundup.psfhosted.org> |
2021-03-10 07:17:29 | pepoluan | link | issue27820 messages |
2021-03-10 07:17:29 | pepoluan | create | |
|