Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#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 José L. Patiño Andrés)

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 José L. Patiño Andrés, 6 years ago

Description: modified (diff)

comment:2 by José L. Patiño Andrés, 6 years ago

I have submitted a pull request for this one.

comment:3 by Tim Graham, 6 years ago

Has patch: set
Summary: Errors in "Sending email" documentationUpdated email.MIME* references for Python 3
Triage Stage: UnreviewedReady for checkin
Type: UncategorizedBug

comment:4 by Tim Graham <timograham@…>, 6 years ago

Resolution: fixed
Status: newclosed

In dfbfa3a:

[2.1.x] Fixed #29535 -- Updated email.MIME* references for Python 3.

Backport of b5dd6ef3d52544ec7533509915c61545d5c3d85a from master

comment:5 by Tim Graham <timograham@…>, 6 years ago

In b5dd6ef:

Fixed #29535 -- Updated email.MIME* references for Python 3.

comment:6 by Tim Graham <timograham@…>, 6 years ago

In a881499a:

[2.0.x] Fixed #29535 -- Updated email.MIME* references for Python 3.

Backport of b5dd6ef3d52544ec7533509915c61545d5c3d85a from master

Note: See TracTickets for help on using tickets.
Back to Top