Searched refs:has_extn (Results 1 – 6 of 6) sorted by relevance
485 def has_extn(self, opt): member in SMTP528 if self.has_extn('smtputf8'):695 if not self.has_extn("auth"):750 if not self.has_extn("starttls"):857 if self.has_extn('size'):951 if not self.has_extn('smtputf8'):
458 def has_extn(self, opt): member in SMTP585 if not self.has_extn("auth"):644 if not self.has_extn("starttls"):729 if self.has_extn('size'):
589 self.smtp.has_extn, self.smtp.sendmail = Mock(), Mock()926 self.assertTrue(smtp.has_extn(k))927 self.assertFalse(smtp.has_extn('unsupported-feature'))1089 self.assertFalse(smtp.has_extn('smtputf8'))1197 self.assertTrue(smtp.has_extn('smtputf8'))
473 self.assertTrue(smtp.has_extn(k))474 self.assertFalse(smtp.has_extn('unsupported-feature'))
206 response for ESMTP option and store them for use by :meth:`has_extn`.214 Unless you wish to use :meth:`has_extn` before sending mail, it should not be229 .. method:: SMTP.has_extn(name)
261 response for ESMTP option and store them for use by :meth:`has_extn`.268 Unless you wish to use :meth:`has_extn` before sending mail, it should not be281 .. method:: SMTP.has_extn(name)