Opened 6 years ago
Last modified 6 years ago
#29535 closed Bug
Errors in "Sending email" documentation — at Version 1
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.
Note:
See TracTickets
for help on using tickets.