[issue21296] smtplib Sends Commands in Lower-Case

2014-04-19 Thread Luiji Maryo
Luiji Maryo added the comment: Apologies, I was tired when I looked into this. It turns out that SMTP is explicitly case-insensitive with command names. I still think it'd be nice to use upper-case commands for consistency with the FROM: and TO: lines, though, or to put the FROM: a

[issue21296] smtplib Sends Commands in Lower-Case

2014-04-18 Thread Luiji Maryo
New submission from Luiji Maryo: It has occurred to me while testing an SMTP server with smtplib that it sends commands in lower-case. This is problematic because, although most SMTP servers seem to be case-insensitive, RFC 5321 (SMTP) doesn't seem to explicitly require this and there m