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
5 lines
115 B
Go
5 lines
115 B
Go
package notification
|
|
|
|
const fileNotifierMode = 0600
|
|
const rfc5322DateTimeLayout = "Mon, 2 Jan 2006 15:04:05 -0700"
|