diff --git a/locales/email/en.json b/locales/email/en.json index 61af700f..e63845b0 100644 --- a/locales/email/en.json +++ b/locales/email/en.json @@ -21,5 +21,9 @@ }, "event_confirm": { "content": "You can confirm this event at this page" - } + }, + "test": { + "subject": "Your SMTP configuration is working", + "content": "This is a test email, if you are reading this your configuration is working." + } } diff --git a/server/emails/test/html.pug b/server/emails/test/html.pug new file mode 100644 index 00000000..dc96d0b7 --- /dev/null +++ b/server/emails/test/html.pug @@ -0,0 +1,3 @@ +extends ../layout.pug +block content + p !{t('test.content', { config, user })} diff --git a/server/emails/test/subject.pug b/server/emails/test/subject.pug new file mode 100644 index 00000000..25a5edc1 --- /dev/null +++ b/server/emails/test/subject.pug @@ -0,0 +1 @@ +| [#{config.title}] #{t('test.subject')}