diff --git a/frontend/src/views/settings/smtp.vue b/frontend/src/views/settings/smtp.vue index baf35cf..39cca4f 100644 --- a/frontend/src/views/settings/smtp.vue +++ b/frontend/src/views/settings/smtp.vue @@ -150,6 +150,13 @@ +
+
+ + {{ $t('settings.smtp.testConnection') }} + +
+
@@ -211,6 +218,10 @@ export default Vue.extend({ s.showHeaders = true; this.data.smtp.splice(i, 1, s); }, + + testConnection(c) { + alert(c); + }, }, }); diff --git a/i18n/en.json b/i18n/en.json index 72b7323..52cebfc 100644 --- a/i18n/en.json +++ b/i18n/en.json @@ -453,6 +453,7 @@ "settings.smtp.retries": "Retries", "settings.smtp.retriesHelp": "Number of times to retry when a message fails.", "settings.smtp.setCustomHeaders": "Set custom headers", + "settings.smtp.testConnection": "Test connection", "settings.title": "Settings", "settings.updateAvailable": "A new update {version} is available.", "subscribers.advancedQuery": "Advanced",