MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / has_extn

Method has_extn

tools/python-3.11.9-amd64/Lib/smtplib.py:496–498  ·  view source on GitHub ↗

Does the server support a given SMTP service extension?

(self, opt)

Source from the content-addressed store, hash-verified

494 return (code, msg)
495
496 def has_extn(self, opt):
497 """Does the server support a given SMTP service extension?"""
498 return opt.lower() in self.esmtp_features
499
500 def help(self, args=''):
501 """SMTP 'help' command.

Callers 5

mailMethod · 0.95
loginMethod · 0.95
starttlsMethod · 0.95
sendmailMethod · 0.95
send_messageMethod · 0.95

Calls 1

lowerMethod · 0.45

Tested by

no test coverage detected