PyDocs

Nav

Internet Protocols and Support

SMTP.connect

smtplib

method of SMTP (source) not WASI
  • SMTP.connect(host='localhost', port=0)
Connect to a host on a given port.

If the hostname ends with a colon (':') followed by a number, and
there is no port specified, that suffix will be stripped off and the
number interpreted as the port number to use.

Note: This method is automatically invoked by __init__, if a host is
specified during instantiation.
0 Examples
No examples for smtplib/SMTP.connect.
See Also
No see-alsos for smtplib/SMTP.connect
0 Notes
No notes for SMTP.connect