Searched refs:has_extn (Results 1 – 3 of 3) sorted by relevance
496 def has_extn(self, opt): member in SMTP539 if self.has_extn('smtputf8'):715 if not self.has_extn("auth"):770 if not self.has_extn("starttls"):877 if self.has_extn('size'):971 if not self.has_extn('smtputf8'):
733 self.smtp.has_extn, self.smtp.sendmail = Mock(), Mock()1085 self.assertTrue(smtp.has_extn(k))1086 self.assertFalse(smtp.has_extn('unsupported-feature'))1306 self.assertFalse(smtp.has_extn('smtputf8'))1421 self.assertTrue(smtp.has_extn('smtputf8'))
279 response for ESMTP option and store them for use by :meth:`has_extn`.287 Unless you wish to use :meth:`has_extn` before sending mail, it should not be300 .. method:: SMTP.has_extn(name)