Home | History | Annotate | Download | only in logging

Lines Matching refs:smtp

872     A handler class which sends an SMTP email for each logging event.
880 line of the email. To specify a non-standard SMTP port, use the
928 smtp = smtplib.SMTP(self.mailhost, port, timeout=self._timeout)
937 smtp.ehlo()
938 smtp.starttls(*self.secure)
939 smtp.ehlo()
940 smtp.login(self.username, self.password)
941 smtp.sendmail(self.fromaddr, self.toaddrs, msg)
942 smtp.quit()