Skip to content

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

fixed MailSender documentation example - closes #74

Pablo Hoffmanf8ce24148419
diff --git a/scrapy/trunk/docs/ref/email.rst b/scrapy/trunk/docs/ref/email.rst
index f03fe7f13..76af6e1a1 100644
--- a/scrapy/trunk/docs/ref/email.rst
+++ b/scrapy/trunk/docs/ref/email.rst
@@ -24,7 +24,7 @@ Here's a quick example of how to send an email (without attachments)::
from scrapy.mail import MailSender
mailer = MailSender()
- mailer.send(to=["[email protected]"], "Some subject", "Some body", cc=["[email protected]"])
+ mailer.send(to=["[email protected]"], subject="Some subject", body="Some body", cc=["[email protected]"])
MailSender class reference
==========================