forked from prometheus/alertmanager
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added email notification text content support (prometheus#934)
* added email notification text content support (configuration text) added default email notification text content default value empty converted email notification from html to multipart/alternatives with support to both html (first) and text (last) ignore intellij IDE .idea working folder * removed specific editor .gitignore entries * renamed TEXT to Text as it's not an acronym added TODO note to refactor multipart code to use standard go library * refactored to use standard go mime/multipart library for text and html parts and bounderies * use multipart createPart returned writer added error handling while creating parts removed unnecessary quotes from boundry string * removed unnecessary comments
- Loading branch information
Showing
2 changed files
with
35 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters