en test email subject/content

This commit is contained in:
lesion
2021-10-18 20:43:02 +02:00
parent b63f22fd31
commit a94ccc42f3
3 changed files with 9 additions and 1 deletions

View File

@@ -21,5 +21,9 @@
},
"event_confirm": {
"content": "You can confirm this event at <a href='{{url}}'>this page</a>"
},
"test": {
"subject": "Your SMTP configuration is working",
"content": "This is a test email, if you are reading this your configuration is working."
}
}

View File

@@ -0,0 +1,3 @@
extends ../layout.pug
block content
p !{t('test.content', { config, user })}

View File

@@ -0,0 +1 @@
| [#{config.title}] #{t('test.subject')}