mirror of
https://github.com/Ravinou/borgwarehouse
synced 2024-05-21 15:06:47 +02:00
fix: add plaintext version to email templates
This commit is contained in:
parent
25822be036
commit
f3a079de27
|
@ -11,7 +11,7 @@ export default function emailTest(mailTo, username, aliasList) {
|
||||||
from: 'BorgWarehouse' + '<' + process.env.MAIL_SMTP_FROM + '>',
|
from: 'BorgWarehouse' + '<' + process.env.MAIL_SMTP_FROM + '>',
|
||||||
to: mailTo,
|
to: mailTo,
|
||||||
subject: 'Down status alert !',
|
subject: 'Down status alert !',
|
||||||
text: 'Corps de test',
|
text: 'Some repositories need attention ! Please, check your BorgWarehouse interface.',
|
||||||
html:
|
html:
|
||||||
`
|
`
|
||||||
<div
|
<div
|
||||||
|
@ -96,7 +96,7 @@ export default function emailTest(mailTo, username, aliasList) {
|
||||||
"
|
"
|
||||||
>
|
>
|
||||||
<p>
|
<p>
|
||||||
List of repositories in down status :
|
List of repositories with down status :
|
||||||
</p>
|
</p>
|
||||||
<ul>` +
|
<ul>` +
|
||||||
aliasTemplate(aliasList) +
|
aliasTemplate(aliasList) +
|
||||||
|
|
|
@ -3,7 +3,7 @@ export default function emailTest(mailTo, username) {
|
||||||
from: 'BorgWarehouse' + '<' + process.env.MAIL_SMTP_FROM + '>',
|
from: 'BorgWarehouse' + '<' + process.env.MAIL_SMTP_FROM + '>',
|
||||||
to: mailTo,
|
to: mailTo,
|
||||||
subject: 'Testing email settings',
|
subject: 'Testing email settings',
|
||||||
text: 'Corps de test',
|
text: 'If you received this email then the email address configuration seems to be correct.',
|
||||||
html:
|
html:
|
||||||
`
|
`
|
||||||
<div
|
<div
|
||||||
|
|
Loading…
Reference in a new issue