package
Version:
v1.0.1
Opens a new window with list of versions in this module.
Published: May 24, 2021
License: ISC
Opens a new window with license information.
Imports: 8
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
DisableLog disables all library log output. Logging output is disabled
by default until either UseLogger or SetLogWriter are called.
UseLogger uses a specified Logger to output package logging info.
This should be used in preference to SetLogWriter if the caller is also
using slog.
Client provides an SMTP client for sending emails from a preset email
address.
New returns a new mail Client.
IsEnabled returns whether the mail server is enabled.
SendTo sends an email with the given subject and body to the provided list
of email addresses.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.