supports sending logging messages to an email address via SMTP.
--.. class:: SMTPHandler(mailhost, fromaddr, toaddrs, subject, credentials=None, secure=None)
++.. class:: SMTPHandler(mailhost, fromaddr, toaddrs, subject, credentials=None, secure=None, timeout=1.0)
Returns a new instance of the :class:`SMTPHandler` class. The instance is
initialized with the from and to addresses and subject line of the email. The
and certificate file. (This tuple is passed to the
:meth:`smtplib.SMTP.starttls` method.)
++ A timeout can be specified for communication with the SMTP server using the
++ *timeout* argument.
++
++ .. versionadded:: 3.3
++ The *timeout* argument was added.
++
.. method:: emit(record)
Formats the record and sends it to the specified addressees.