Skip to content

Scrapy, a fast high-level web crawling & scraping framework for Python.

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

Nicolas Pennequin6efc7a9de056
diff --git a/docs/topics/email.rst b/docs/topics/email.rst
index 789fbd4fb..96487d865 100644
--- a/docs/topics/email.rst
+++ b/docs/topics/email.rst
@@ -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: