mirror of
https://github.com/0rangebananaspy/authelia.git
synced 2024-09-14 22:47:21 +07:00
a92b0bff1d
* add a plain text email template * use plain text email template for file based emails * add config option to SMTP emails named disable_html_emails * config option is a boolean that when set to true will only send plain text emails * add docs for more complex SMTP notifier options * update template * add rfc1341 multipart logic to notifier * check for errors after identity_verification * * fix nil ptr * go mod tidy * remove needless checks * * use multipart/atlernative instead * * add rfc5322 compliant date header * * fix linting issues
8 lines
201 B
Go
8 lines
201 B
Go
package notification
|
|
|
|
// Notifier interface for sending the identity verification link.
|
|
type Notifier interface {
|
|
Send(recipient, subject, body, htmlBody string) error
|
|
StartupCheck() (bool, error)
|
|
}
|