add plaintext email option, use text/template

text/template is used on plaintext emails to avoid escaping of certain
characters.
This commit is contained in:
Harvey Tindall
2021-02-18 18:26:23 +00:00
parent 27ef931670
commit 93b5b483cc
5 changed files with 39 additions and 7 deletions
+10 -1
View File
@@ -73,7 +73,7 @@
"requires_restart": true,
"type": "text",
"value": "",
"description": "Optionally substitute occurrences of \"Jellyfin\" in the account creation form with this. May result in bad grammar."
"description": "Optionally substitute occurrences of \"Jellyfin\" in the account creation form and emails with this. May result in bad grammar."
}
}
},
@@ -398,6 +398,15 @@
"type": "text",
"value": "Jellyfin",
"description": "The name of the sender"
},
"plaintext": {
"name": "Send emails as plain text",
"required": false,
"requires_restart": false,
"depends_true": "method",
"type": "bool",
"value": false,
"description": "Send emails as plain text instead of HTML."
}
}
},