Message289888
Turns out, this goes for a lot more commands, such as:
```
Traceback (most recent call last):
File "mail.py", line 12, in <module>
smtp_server.sendmail(fromaddr, toaddrs, msg)
File "/usr/lib/python3.6/smtplib.py", line 866, in sendmail
raise SMTPSenderRefused(code, resp, from_addr)
```
The command that the server refused was:
mail FROM:<my_mail@gmail.com> size=11
Again, this is mostly because traditionally server commands are upper case (even tho RFC 821 defines that they can be any syntax, such as `mAiL FroM`).
But it would be nice if Python could keep consistency in it's syntax IMHO. |
|
Date |
User |
Action |
Args |
2017-03-20 14:59:16 | Lord Anton Hvornum | set | recipients:
+ Lord Anton Hvornum |
2017-03-20 14:59:16 | Lord Anton Hvornum | set | messageid: <1490021956.25.0.111333657333.issue29860@psf.upfronthosting.co.za> |
2017-03-20 14:59:16 | Lord Anton Hvornum | link | issue29860 messages |
2017-03-20 14:59:16 | Lord Anton Hvornum | create | |
|