Home | History | Annotate | Download | only in python2.7

Lines Matching refs:connect

239         connect.  If specified, `port' specifies the port to which to connect.
241 connect method is called, and if it returns anything other than
250 (code, msg) = self.connect(host, port)
281 # This makes it simpler for SMTP_SSL to use the SMTP connect code
284 print>>stderr, 'connect:', (host, port)
287 def connect(self, host='localhost', port=0):
288 """Connect to a host on a given port.
309 print>>stderr, 'connect:', (host, port)
313 print>>stderr, "connect:", msg
327 raise SMTPServerDisconnected('please run connect() first')
781 print>>stderr, 'connect:', (host, port)
799 so our connect() method must support that as well as a regular
813 def connect(self, host='localhost', port=0):
814 """Connect to the LMTP daemon, on either a Unix or a TCP socket."""
816 return SMTP.connect(self, host, port)
821 self.sock.connect(host)
824 print>>stderr, 'connect fail:', host
831 print>>stderr, "connect:", msg