Discover Packages
github.com/MyHomeworkSpace/api-server
email
package
Version:
v0.0.0-...-eeaca3f
Opens a new window with list of versions in this module.
Published: Jun 13, 2024
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.