Add version/host/user headers in sent email

This commit is contained in:
Jérémy Lecour 2022-01-25 10:48:35 +01:00 committed by Jérémy Lecour
parent 334ef62d43
commit b8bb014b8d
2 changed files with 5 additions and 0 deletions

View File

@ -5,6 +5,8 @@ and this project **does not adhere to [Semantic Versioning](http://semver.org/sp
### Added
* version/host/user headers in sent email
### Changed
### Deprecated

View File

@ -303,6 +303,9 @@ From: ${FULLFROM}
Content-Type: text/plain; charset=UTF-8
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
X-Evomaintenance-Version: ${VERSION}
X-Evomaintenance-Host: ${HOSTNAME_TEXT}
X-Evomaintenance-User: ${USER}
To: ${EVOMAINTMAIL}
Subject: [evomaintenance] Intervention sur ${HOSTNAME_TEXT} (${USER})