class documentation

class MailSender:

View In Hierarchy

Undocumented

Class Method from​_settings Undocumented
Method send Undocumented
Method __init__ Undocumented
Method ​_sendmail Undocumented
Method ​_sent​_failed Undocumented
Method ​_sent​_ok Undocumented
Instance Variable debug Undocumented
Instance Variable mailfrom Undocumented
Instance Variable smtphost Undocumented
Instance Variable smtppass Undocumented
Instance Variable smtpport Undocumented
Instance Variable smtpssl Undocumented
Instance Variable smtptls Undocumented
Instance Variable smtpuser Undocumented
@classmethod
def from_settings(cls, settings):

Undocumented

def send(self, to, subject, body, cc=None, attachs=(), mimetype='text/plain', charset=None, _callback=None):

Undocumented

def __init__(self, smtphost='localhost', mailfrom='scrapy@localhost', smtpuser=None, smtppass=None, smtpport=25, smtptls=False, smtpssl=False, debug=False):

Undocumented

def _sendmail(self, to_addrs, msg):

Undocumented

def _sent_failed(self, failure, to, cc, subject, nattachs):

Undocumented

def _sent_ok(self, result, to, cc, subject, nattachs):

Undocumented

debug =

Undocumented

mailfrom =

Undocumented

smtphost =

Undocumented

smtppass =

Undocumented

smtpport =

Undocumented

smtpssl =

Undocumented

smtptls =

Undocumented

smtpuser =

Undocumented