Example code as below, please help me out :)
 

from twisted.internet import reactor
from scrapy.mail import MailSender
 
def f():
    pass
 

mailer = MailSender(smtphost='xxx.yyy.com', [email protected]')
mailer.send(to=["[email protected]"], subject="Some subject", body="Some body")

reactor.callLater(1,f)
reactor.run()

-- 
You received this message because you are subscribed to the Google Groups 
"scrapy-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/scrapy-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to