Lines Matching refs:SMTP
75 smtp = smtplib.SMTP(HOST, self.port)
81 smtp = smtplib.SMTP(HOST, self.port,
89 smtp = smtplib.SMTP("%s:%s" % (HOST, self.port))
95 smtp = smtplib.SMTP(HOST, self.port, local_hostname="testhost")
105 smtp = smtplib.SMTP(HOST, self.port)
116 smtp = smtplib.SMTP(HOST, self.port, timeout=None)
124 smtp = smtplib.SMTP(HOST, self.port, timeout=30)
130 smtp = smtplib.SMTP()
140 smtp = smtplib.SMTP()
241 smtp = smtplib.SMTP(HOST, self.port, local_hostname='localhost', timeout=3)
248 smtp = smtplib.SMTP(self.host, self.port, local_hostname='localhost',
259 smtp = smtplib.SMTP(HOST, self.port, local_hostname='localhost', timeout=3)
265 smtp = smtplib.SMTP(HOST, self.port, local_hostname='localhost', timeout=3)
272 smtp = smtplib.SMTP(HOST, self.port, local_hostname='localhost', timeout=3)
279 smtp = smtplib.SMTP(HOST, self.port, local_hostname='localhost', timeout=3)
286 smtp = smtplib.SMTP(HOST, self.port, local_hostname='localhost', timeout=3)
296 smtp = smtplib.SMTP(HOST, self.port, local_hostname='localhost', timeout=3)
303 smtp = smtplib.SMTP(HOST, self.port, local_hostname='localhost', timeout=3)
311 smtp = smtplib.SMTP(HOST, self.port, local_hostname='localhost', timeout=3)
327 smtp = smtplib.SMTP(HOST, self.port, local_hostname='localhost', timeout=3)
342 smtp = smtplib.SMTP(HOST, self.port, local_hostname='localhost', timeout=3)
356 smtp = smtplib.SMTP(HOST, self.port, local_hostname='localhost', timeout=3)
373 smtp = smtplib.SMTP(HOST, self.port, local_hostname='localhost', timeout=3)
397 smtp = smtplib.SMTP(HOST, self.port, local_hostname='localhost', timeout=3)
430 smtp = smtplib.SMTP(HOST, self.port, local_hostname='localhost', timeout=3)
457 smtp = smtplib.SMTP(HOST, self.port, local_hostname='localhost', timeout=3)
487 smtp = smtplib.SMTP(HOST, self.port, local_hostname='localhost', timeout=3)
519 smtp = smtplib.SMTP(HOST, self.port, local_hostname='localhost', timeout=3)
557 smtp = smtplib.SMTP(HOST, self.port, local_hostname='localhost', timeout=3)
569 smtp = smtplib.SMTP()
576 self.assertRaises(OSError, smtplib.SMTP,
578 self.assertRaises(OSError, smtplib.SMTP,
587 self.smtp = smtplib.SMTP()
625 self.assertRaises(smtplib.SMTPConnectError, smtplib.SMTP,
653 self.assertRaises(smtplib.SMTPResponseException, smtplib.SMTP,
906 smtp = smtplib.SMTP(HOST, self.port, local_hostname='localhost', timeout=15)
910 smtp = smtplib.SMTP(HOST, self.port, local_hostname='localhost', timeout=15)
931 smtp = smtplib.SMTP(HOST, self.port, local_hostname='localhost', timeout=15)
945 smtp = smtplib.SMTP(HOST, self.port, local_hostname='localhost', timeout=15)
961 smtp = smtplib.SMTP(HOST, self.port, local_hostname='localhost', timeout=15)
968 smtp = smtplib.SMTP(HOST, self.port, local_hostname='localhost', timeout=15)
975 smtp = smtplib.SMTP(HOST, self.port, local_hostname='localhost', timeout=15)
983 smtp = smtplib.SMTP(HOST, self.port, local_hostname='localhost', timeout=15)
994 smtp = smtplib.SMTP(HOST, self.port,
1004 smtp = smtplib.SMTP(HOST, self.port,
1019 with smtplib.SMTP(HOST, self.port) as smtp:
1023 with smtplib.SMTP(HOST, self.port) as smtp:
1029 with smtplib.SMTP(HOST, self.port) as smtp:
1040 smtp = smtplib.SMTP(HOST, self.port, local_hostname='localhost', timeout=15)
1050 smtp = smtplib.SMTP(HOST, self.port, local_hostname='localhost', timeout=15)
1059 smtp = smtplib.SMTP(HOST, self.port, local_hostname='localhost', timeout=15)
1076 smtp = smtplib.SMTP(HOST, self.port, local_hostname='localhost', timeout=15)
1084 smtp = smtplib.SMTP(
1099 smtp = smtplib.SMTP(
1112 smtp = smtplib.SMTP(
1119 smtp = smtplib.SMTP(
1192 smtp = smtplib.SMTP(
1201 smtp = smtplib.SMTP(
1215 smtp = smtplib.SMTP(
1251 smtp = smtplib.SMTP(
1313 smtp = smtplib.SMTP(HOST, self.port,
1320 smtp = smtplib.SMTP(HOST, self.port,