Guest User

Untitled

a guest
Jan 31st, 2019
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.44 KB | None | 0 0
  1. 2017-02-25 12:44:44 [scrapy.mail] ERROR: Unable to send mail: To=['<my_email>@gmail.com'] Cc=['<my_email>@gmail.com'] Subject="Test" Attachs=0- Connection was refused by other side: 10061: No connection could be made because the target machine actively refused it..
  2.  
  3. mailer = scrapy.mail.MailSender.from_settings(scrapy.conf.settings)
  4. mailer.send(to=["<my_email>@gmail.com"], subject="Test",
  5. body="Test", cc=["<my_email>@gmail.com"])
Add Comment
Please, Sign In to add comment