Update the email doc for the charset argument to send().

This commit is contained in:
Nicolas Pennequin 2016-01-06 22:32:58 +01:00 committed by Paul Tremberth
parent 72229f92de
commit 9cdbe177b7
1 changed files with 4 additions and 1 deletions

View File

@ -76,7 +76,7 @@ uses `Twisted non-blocking IO`_, like the rest of the framework.
:param settings: the e-mail recipients
:type settings: :class:`scrapy.settings.Settings` object
.. method:: send(to, subject, body, cc=None, attachs=(), mimetype='text/plain')
.. method:: send(to, subject, body, cc=None, attachs=(), mimetype='text/plain', charset=None)
Send email to the given recipients.
@ -102,6 +102,9 @@ uses `Twisted non-blocking IO`_, like the rest of the framework.
:param mimetype: the MIME type of the e-mail
:type mimetype: str
:param charset: the character encoding to use for the e-mail contents
:type charset: str
.. _topics-email-settings: