Lines Matching refs:port
542 def __init__(self, host, port):
544 Initializes the handler with a specific host address and port.
552 self.port = port
553 if port is None:
556 self.address = (host, port)
572 if self.port is not None:
707 def __init__(self, host, port):
709 Initializes the handler with a specific host address and port.
711 SocketHandler.__init__(self, host, port)
719 if self.port is None:
918 host, port = address
919 ress = socket.getaddrinfo(host, port, 0, socktype)
1029 line of the email. To specify a non-standard SMTP port, use the
1030 (host, port) tuple format for the mailhost argument. To specify
1078 port = self.mailport
1079 if not port:
1080 port = smtplib.SMTP_PORT
1081 smtp = smtplib.SMTP(self.mailhost, port, timeout=self.timeout)
1273 # need to strip optional :port from host, if present