Lines Matching refs:server
76 self.server = None
98 server = xConnectionContext.getValueByName("ServerName")
100 out.write("ServerName: %s\n" % server)
118 self.server = smtplib.SMTP_SSL(server, port, timeout=tout)
120 self.server = smtplib.SMTP(server, port,timeout=tout)
122 self.server.set_debuglevel(1)
128 self.server.ehlo()
129 self.server.starttls()
130 self.server.ehlo()
137 self.server.login(user, password)
144 if self.server:
145 self.server.quit()
146 self.server = None
152 return self.server != None
272 self.server.sendmail(sendermail, truerecipients, msg.as_string())
279 self.server = None
301 server = xConnectionContext.getValueByName("ServerName")
303 out.write("Server: %s\n" % server)
312 self.server = imaplib.IMAP4_SSL(server, port)
314 self.server = imaplib.IMAP4(server, port)
322 self.server.login(user, password)
329 if self.server:
330 self.server.logout()
331 self.server = None
337 return self.server != None
348 self.server = None
370 server = xConnectionContext.getValueByName("ServerName")
372 out.write("Server: %s\n" % server)
381 self.server = poplib.POP3_SSL(server, port)
390 self.server = poplib.POP3(server, port, timeout=tout)
397 self.server.user(user)
398 self.server.pass_(password)
405 if self.server:
406 self.server.quit()
407 self.server = None
413 return self.server != None