TlsSMTPHandler¶
Description
- class lab_utils.custom_logging.TlsSMTPHandler(mailhost, fromaddr, toaddrs, subject, credentials=None, secure=None, timeout=5.0)[source]¶
SMTPHandler
with TLS support. Based upon this gist.Attributes
Sender address (inherited).
Mail provider (inherited).
Mail port (inherited).
Login password (inherited).
Recipients addresses (inherited).
Login username (inherited).
Methods
Emits a record.