SMTP 'helo' command. Hostname to send for this command defaults to the FQDN of the local host.
(self, name='')
| 433 | |
| 434 | # std smtp commands |
| 435 | def helo(self, name=''): |
| 436 | """SMTP 'helo' command. |
| 437 | Hostname to send for this command defaults to the FQDN of the local |
| 438 | host. |
| 439 | """ |
| 440 | self.putcmd("helo", name or self.local_hostname) |
| 441 | (code, msg) = self.getreply() |
| 442 | self.helo_resp = msg |
| 443 | return (code, msg) |
| 444 | |
| 445 | def ehlo(self, name=''): |
| 446 | """ SMTP 'ehlo' command. |
no test coverage detected