Discover Packages
github.com/MyHomeworkSpace/api-server
email
package
Version:
v0.0.0-...-8dc1090
Opens a new window with list of versions in this module.
Published: May 10, 2023
License: MIT
Opens a new window with license information.
Imports: 14
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
View Source
var ErrDisabled = errors .New ("email: sending email has been disabled in the config file")
ErrDisabled is reported when Send is called while email has been disabled
Init sets up the email package
Send sends the email with the given template name and data to the specified recipient. If recipient is blank, the user's email is used as the recipient.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.