Scrapy 0.9 Documentationscrapy.mail import MailSender mailer = MailSender() mailer.send(to=["someone@example.com"], subject="Some subject", body="Some body", cc=["another@example.com"]) 4.3.2 MailSender class reference MailSender SMTP pass for authetnication. • smtpport (int) – the SMTP port to connect to scrapy.mail.send(to, subject, body, cc=None, attachs=()) Send email to the given recipients. Emits the mail_sent signal. If Sending e-mail 57 Scrapy Documentation, Release 0.9 • to (list) – the e-mail recipients • subject (str) – the subject of the e-mail • cc (list) – the e-mails to CC • body (str) – the e-mail body • attachs0 码力 | 156 页 | 764.56 KB | 1 年前3
Scrapy 0.9 Documentationscrapy.mail import MailSender mailer = MailSender() mailer.send(to=["someone@example.com"], subject="Some subject", body="Some body", cc=["another@example.com"]) MailSender class reference MailSender is SMTP pass for authetnication. smtpport (int) – the SMTP port to connect to scrapy.mail.send(to, subject, body, cc=None, attachs=()) Send email to the given recipients. Emits the mail_sent signal. If emmited and no actual email will be sent. Parameters: to (list) – the e-mail recipients subject (str) – the subject of the e-mail cc (list) – the e-mails to CC body (str) – the e-mail body attachs (iterable)0 码力 | 204 页 | 447.68 KB | 1 年前3
Scrapy 0.14 Documentationscrapy.mail import MailSender mailer = MailSender() mailer.send(to=["someone@example.com"], subject="Some subject", body="Some body", cc=["another@example.com"]) MailSender class reference MailSender is mail.send(to, subject, body, cc=None, attachs=()) Send email to the given recipients. Emits the mail_sent signal. Parameters: to (list) – the e-mail recipients subject (str) – the subject of the e-mail mail.mail_sent(to, subject, body, cc, attachs, msg) Emitted by MailSender.send() after an email has been sent. Parameters: to (list) – the e-mail recipients subject (str) – the subject of the e-mail cc0 码力 | 235 页 | 490.23 KB | 1 年前3
Scrapy 0.12 Documentationscrapy.mail import MailSender mailer = MailSender() mailer.send(to=["someone@example.com"], subject="Some subject", body="Some body", cc=["another@example.com"]) 4.3.2 MailSender class reference MailSender mail.send(to, subject, body, cc=None, attachs=()) Send email to the given recipients. Emits the mail_sent signal. Parameters • to (list) – the e-mail recipients • subject (str) – the subject of the e-mail mail_sent(to, subject, body, cc, attachs, msg) Emitted by MailSender.send() after an email has been sent. Parameters • to (list) – the e-mail recipients • subject (str) – the subject of the e-mail0 码力 | 177 页 | 806.90 KB | 1 年前3
Scrapy 0.12 Documentationscrapy.mail import MailSender mailer = MailSender() mailer.send(to=["someone@example.com"], subject="Some subject", body="Some body", cc=["another@example.com"]) MailSender class reference MailSender is mail.send(to, subject, body, cc=None, attachs=()) Send email to the given recipients. Emits the mail_sent signal. Parameters: to (list) – the e-mail recipients subject (str) – the subject of the e-mail mail.mail_sent(to, subject, body, cc, attachs, msg) Emitted by MailSender.send() after an email has been sent. Parameters: to (list) – the e-mail recipients subject (str) – the subject of the e-mail cc0 码力 | 228 页 | 462.54 KB | 1 年前3
Scrapy 0.14 Documentationscrapy.mail import MailSender mailer = MailSender() mailer.send(to=["someone@example.com"], subject="Some subject", body="Some body", cc=["another@example.com"]) 4.3.2 MailSender class reference MailSender mail.send(to, subject, body, cc=None, attachs=()) Send email to the given recipients. Emits the mail_sent signal. Parameters • to (list) – the e-mail recipients • subject (str) – the subject of the e-mail mail_sent(to, subject, body, cc, attachs, msg) Emitted by MailSender.send() after an email has been sent. Parameters • to (list) – the e-mail recipients • subject (str) – the subject of the e-mail0 码力 | 179 页 | 861.70 KB | 1 年前3
Scrapy 0.16 Documentationuse it to send an e-mail (without attachments): mailer.send(to=["someone@example.com"], subject="Some subject", body="Some body", cc=["another@example.com"]) 4.3.2 MailSender class reference MailSender e-mail recipients send(to, subject, body, cc=None, attachs=()) Send email to the given recipients. Parameters • to (list) – the e-mail recipients • subject (str) – the subject of the e-mail • cc (list) Contracts New in version 0.15. Note: This is a new feature (introduced in Scrapy 0.15) and may be subject to minor functionality/API updates. Check the release notes to be notified of updates. Testing spiders0 码力 | 203 页 | 931.99 KB | 1 年前3
Scrapy 0.18 Documentationuse it to send an e-mail (without attachments): mailer.send(to=["someone@example.com"], subject="Some subject", body="Some body", cc=["another@example.com"]) 4.3.2 MailSender class reference MailSender e-mail recipients send(to, subject, body, cc=None, attachs=()) Send email to the given recipients. Parameters • to (list) – the e-mail recipients • subject (str) – the subject of the e-mail • cc (list) Contracts New in version 0.15. Note: This is a new feature (introduced in Scrapy 0.15) and may be subject to minor functionality/API updates. Check the release notes to be notified of updates. Testing spiders0 码力 | 201 页 | 929.55 KB | 1 年前3
Scrapy 0.22 Documentationuse it to send an e-mail (without attachments): mailer.send(to=["someone@example.com"], subject="Some subject", body="Some body", cc=["another@example.com"]) 4.3.2 MailSender class reference MailSender e-mail recipients send(to, subject, body, cc=None, attachs=()) Send email to the given recipients. Parameters • to (list) – the e-mail recipients • subject (str) – the subject of the e-mail • cc (list) Contracts New in version 0.15. Note: This is a new feature (introduced in Scrapy 0.15) and may be subject to minor functionality/API updates. Check the release notes to be notified of updates. Testing spiders0 码力 | 199 页 | 926.97 KB | 1 年前3
Scrapy 0.20 Documentationuse it to send an e-mail (without attachments): mailer.send(to=["someone@example.com"], subject="Some subject", body="Some body", cc=["another@example.com"]) 4.3.2 MailSender class reference MailSender e-mail recipients send(to, subject, body, cc=None, attachs=()) Send email to the given recipients. Parameters • to (list) – the e-mail recipients • subject (str) – the subject of the e-mail • cc (list) Contracts New in version 0.15. Note: This is a new feature (introduced in Scrapy 0.15) and may be subject to minor functionality/API updates. Check the release notes to be notified of updates. Testing spiders0 码力 | 197 页 | 917.28 KB | 1 年前3
共 62 条
- 1
- 2
- 3
- 4
- 5
- 6
- 7













