def factory(self): return SMTPProtocol( self.handler, decode_data=True, require_starttls=False, tls_context=get_tls_context())
def factory(self): return SMTPProtocol( self.handler, decode_data=True, auth_require_tls=True, tls_context=get_tls_context())
def factory(self): return SMTPProtocol(self.handler)