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

Method helo

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

SMTP 'helo' command. Hostname to send for this command defaults to the FQDN of the local host.

(self, name='')

Source from the content-addressed store, hash-verified

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.

Callers 1

Calls 2

putcmdMethod · 0.95
getreplyMethod · 0.95

Tested by

no test coverage detected