Lines Matching refs:server
76 self.server = None
98 server = xConnectionContext.getValueByName("ServerName")
100 out.write("ServerName: %s\n" % server)
114 self.server = smtplib.SMTP(server, port,timeout=tout)
116 self.server.set_debuglevel(1)
123 self.server.ehlo()
124 self.server.starttls()
125 self.server.ehlo()
132 self.server.login(user, password)
139 if self.server:
140 self.server.quit()
141 self.server = None
147 return self.server != None
267 self.server.sendmail(sendermail, truerecipients, msg.as_string())
274 self.server = None
296 server = xConnectionContext.getValueByName("ServerName")
298 out.write("Server: %s\n" % server)
307 self.server = imaplib.IMAP4_SSL(server, port)
309 self.server = imaplib.IMAP4(server, port)
317 self.server.login(user, password)
324 if self.server:
325 self.server.logout()
326 self.server = None
332 return self.server != None
343 self.server = None
365 server = xConnectionContext.getValueByName("ServerName")
367 out.write("Server: %s\n" % server)
376 self.server = poplib.POP3_SSL(server, port)
385 self.server = poplib.POP3(server, port, timeout=tout)
392 self.server.user(user)
393 self.server.pass_(password)
400 if self.server:
401 self.server.quit()
402 self.server = None
408 return self.server != None