Changes between Initial Version and Version 1 of Ticket #29535


Ignore:
Timestamp:
Jun 29, 2018, 5:21:39 AM (6 years ago)
Author:
José L. Patiño Andrés
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #29535 – Description

    initial v1  
    11There are a couple of errors in the [https://docs.djangoproject.com/en/2.0/topics/email/ "Sending email"] documentation page.
    22
    3 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 [https://docs.python.org/3/library/email.mime.html#email.mime.base.MIMEBase `email.mime.base.MIMEBase`].
     3The "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 [https://docs.python.org/3/library/email.mime.html#email.mime.base.MIMEBase Python docs].
    44
    55Error can be found in [https://github.com/django/django/blob/master/docs/topics/email.txt#L275 this] and [https://github.com/django/django/blob/master/docs/topics/email.txt#L330 this] lines of the documentation.
Back to Top