en test email subject/content
This commit is contained in:
parent
b63f22fd31
commit
a94ccc42f3
3 changed files with 9 additions and 1 deletions
|
@ -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."
|
||||
}
|
||||
}
|
||||
|
|
3
server/emails/test/html.pug
Normal file
3
server/emails/test/html.pug
Normal file
|
@ -0,0 +1,3 @@
|
|||
extends ../layout.pug
|
||||
block content
|
||||
p !{t('test.content', { config, user })}
|
1
server/emails/test/subject.pug
Normal file
1
server/emails/test/subject.pug
Normal file
|
@ -0,0 +1 @@
|
|||
| [#{config.title}] #{t('test.subject')}
|
Loading…
Reference in a new issue