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
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