Does the server support a given SMTP service extension?
(self, opt)
| 501 | return (code, msg) |
| 502 | |
| 503 | def has_extn(self, opt): |
| 504 | """Does the server support a given SMTP service extension?""" |
| 505 | return opt.lower() in self.esmtp_features |
| 506 | |
| 507 | def help(self, args=''): |
| 508 | """SMTP 'help' command. |