diff options
author | Joas Schilling <nickvergessen@gmx.de> | 2014-02-26 12:13:20 +0100 |
---|---|---|
committer | Joas Schilling <nickvergessen@gmx.de> | 2014-03-05 10:01:34 +0100 |
commit | 5b8cde48dc6d68a3921195b5367024b94abe14af (patch) | |
tree | 0675ce506a9f32ddda610afaf76d623c6dde5ce8 /settings/routes.php | |
parent | 2f0db9af07013655393ba199a1890fbf0e55ba0f (diff) | |
download | nextcloud-server-5b8cde48dc6d68a3921195b5367024b94abe14af.tar.gz nextcloud-server-5b8cde48dc6d68a3921195b5367024b94abe14af.zip |
Add button to send a test mail after changing the email settings
Fix #7175
Diffstat (limited to 'settings/routes.php')
-rw-r--r-- | settings/routes.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/settings/routes.php b/settings/routes.php index 64f7122f0cf..a0d54dea1e7 100644 --- a/settings/routes.php +++ b/settings/routes.php @@ -73,5 +73,8 @@ $this->create('settings_ajax_setloglevel', '/settings/ajax/setloglevel.php') $this->create('settings_mail_settings', '/settings/admin/mailsettings') ->post() ->action('OC\Settings\Admin\Controller', 'setMailSettings'); +$this->create('settings_admin_mail_test', '/settings/admin/mailtest') + ->post() + ->action('OC\Settings\Admin\Controller', 'sendTestMail'); $this->create('settings_ajax_setsecurity', '/settings/ajax/setsecurity.php') ->actionInclude('settings/ajax/setsecurity.php'); |