Home
last modified time | relevance | path

Searched refs:has_extn (Results 1 – 3 of 3) sorted by relevance

/third_party/python/Lib/
Dsmtplib.py496 def has_extn(self, opt): member in SMTP
539 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'):
/third_party/python/Lib/test/
Dtest_smtplib.py733 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'))
/third_party/python/Doc/library/
Dsmtplib.rst279 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 be
300 .. method:: SMTP.has_extn(name)