en test email subject/content
This commit is contained in:
@@ -21,5 +21,9 @@
|
|||||||
},
|
},
|
||||||
"event_confirm": {
|
"event_confirm": {
|
||||||
"content": "You can confirm this event at <a href='{{url}}'>this page</a>"
|
"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')}
|
||||||
Reference in New Issue
Block a user