mirror of https://github.com/scrapy/scrapy.git
fixed MailSender documentation example - closes #74
--HG-- extra : convert_revision : svn%3Ab85faa78-f9eb-468e-a121-7cced6da292c%40982
This commit is contained in:
parent
ec1a6af04a
commit
f8ce241484
|
|
@ -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=["someone@example.com"], "Some subject", "Some body", cc=["another@example.com"])
|
||||
mailer.send(to=["someone@example.com"], subject="Some subject", body="Some body", cc=["another@example.com"])
|
||||
|
||||
MailSender class reference
|
||||
==========================
|
||||
|
|
|
|||
Loading…
Reference in New Issue