authelia/internal/templates
James Elliott df016be29e
fix(notification): incorrect date header format (#3684)
* fix(notification): incorrect date header format

The date header in the email envelopes was incorrectly formatted missing a space between the `Date:` header and the value of this header. This also refactors the notification templates system allowing people to manually override the envelope itself.

* test: fix tests and linting issues

* fix: misc issues

* refactor: misc refactoring

* docs: add example for envelope with message id

* refactor: organize smtp notifier

* refactor: move subject interpolation

* refactor: include additional placeholders

* docs: fix missing link

* docs: gravity

* fix: rcpt to command

* refactor: remove mid

* refactor: apply suggestions

Co-authored-by: Amir Zarrinkafsh <nightah@me.com>

* refactor: include pid

Co-authored-by: Amir Zarrinkafsh <nightah@me.com>
2022-07-18 10:56:09 +10:00
..
src/notification fix(notification): incorrect date header format (#3684) 2022-07-18 10:56:09 +10:00
const.go fix(notification): incorrect date header format (#3684) 2022-07-18 10:56:09 +10:00
embed.go fix(notification): incorrect date header format (#3684) 2022-07-18 10:56:09 +10:00
html_plaintext_template.go fix(notification): incorrect date header format (#3684) 2022-07-18 10:56:09 +10:00
provider.go fix(notification): incorrect date header format (#3684) 2022-07-18 10:56:09 +10:00
types.go fix(notification): incorrect date header format (#3684) 2022-07-18 10:56:09 +10:00
util.go fix(notification): incorrect date header format (#3684) 2022-07-18 10:56:09 +10:00