Does the server support a given SMTP service extension?
(self, opt)
| 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. |