#29535 closed Bug (fixed)
Updated email.MIME* references for Python 3
Reported by: | José L. Patiño Andrés | Owned by: | nobody |
---|---|---|---|
Component: | Documentation | Version: | 2.0 |
Severity: | Normal | Keywords: | |
Cc: | Triage Stage: | Ready for checkin | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description (last modified by )
There are a couple of errors in the Sending email documentation page.
The "attachments" instructions always says the attachments can be "either email.MIMEBase.MIMEBase
instances, or (filename, content, mimetype) triples.". Turns out the email.MIMEBase.MIMEBase
module does not exist, and the correct one is email.mime.base.MIMEBase
as can be seen in Python docs.
Error can be found in this and this lines of the documentation.
Change History (6)
comment:1 by , 6 years ago
Description: | modified (diff) |
---|
comment:2 by , 6 years ago
comment:3 by , 6 years ago
Has patch: | set |
---|---|
Summary: | Errors in "Sending email" documentation → Updated email.MIME* references for Python 3 |
Triage Stage: | Unreviewed → Ready for checkin |
Type: | Uncategorized → Bug |
Note:
See TracTickets
for help on using tickets.
I have submitted a pull request for this one.