From 9cdbe177b7599cdb0a69cf9caa665f3037f4ed10 Mon Sep 17 00:00:00 2001 From: Nicolas Pennequin Date: Wed, 6 Jan 2016 22:32:58 +0100 Subject: [PATCH] Update the email doc for the charset argument to send(). --- docs/topics/email.rst | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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: